From fc07a86bc7840912a6eeadd33eece38f5bf659e3 Mon Sep 17 00:00:00 2001 From: abcdam Date: Mon, 23 Dec 2024 17:55:36 +0100 Subject: [PATCH] fix(generator filter): Replace assignment with comparator Fixed typo in filter component produced by `vector generate` --- src/transforms/filter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transforms/filter.rs b/src/transforms/filter.rs index 3371977cf3b250..cf98c5a45ffec1 100644 --- a/src/transforms/filter.rs +++ b/src/transforms/filter.rs @@ -34,7 +34,7 @@ impl From 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() } }