Skip to content

Commit

Permalink
filter: aws use '== FLB_TRUE' for if bool conditions
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Warzyński <mateusz@warzynski.pro>
  • Loading branch information
mwarzynski authored and PettitWesley committed May 3, 2024
1 parent d470ddc commit 41ef155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/filter_aws/aws.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 41ef155

Please sign in to comment.