Skip to content

Commit

Permalink
fix: pointer bool
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Spaink committed Jun 27, 2022
1 parent c76c394 commit 83acf8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/processors/aws/ec2/ec2.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (r *AwsEc2Processor) Start(acc telegraf.Accumulator) error {

// Chceck if instance is allowed to call DescribeTags.
_, err = r.ec2Client.DescribeTags(ctx, &ec2.DescribeTagsInput{
DryRun: true,
DryRun: aws.Bool(true),
})
var ae smithy.APIError
if errors.As(err, &ae) {
Expand Down

0 comments on commit 83acf8c

Please sign in to comment.