From 41ef155addc04f3ea37d1e53e4bd601eb7a20a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Warzy=C5=84ski?= Date: Tue, 26 Mar 2024 02:06:43 +0100 Subject: [PATCH] filter: aws use '== FLB_TRUE' for if bool conditions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mateusz WarzyƄski --- plugins/filter_aws/aws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/filter_aws/aws.c b/plugins/filter_aws/aws.c index acb5b7d7af2..afe94a8a466 100644 --- a/plugins/filter_aws/aws.c +++ b/plugins/filter_aws/aws.c @@ -921,7 +921,7 @@ static int get_ec2_metadata(struct flb_filter_aws *ctx) metadata_fetched = FLB_FALSE; } - if (metadata_fetched) { + if (metadata_fetched == FLB_TRUE) { ctx->metadata_retrieved = FLB_TRUE; }