Skip to content

Commit

Permalink
fix(generator filter): Replace assignment with comparator
Browse files Browse the repository at this point in the history
Fixed typo in filter component produced by `vector generate`
  • Loading branch information
abcdam committed Dec 23, 2024
1 parent 029a2ff commit fc07a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transforms/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl From<AnyCondition> for FilterConfig {

impl GenerateConfig for FilterConfig {
fn generate_config() -> toml::Value {
toml::from_str(r#"condition = ".message = \"value\"""#).unwrap()
toml::from_str(r#"condition = ".message == \"value\"""#).unwrap()
}
}

Expand Down

0 comments on commit fc07a86

Please sign in to comment.