Skip to content

Commit

Permalink
resolved conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
akats7 committed Feb 23, 2024
1 parent 6c9faab commit a1e2aff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (d *Detector) Detect(ctx context.Context) (resource pcommon.Resource, schem

if len(d.tagKeyRegexes) != 0 {
client := getClientConfig(ctx, d.logger)
tags, err := connectAndFetchEc2Tags(meta.Region, meta.InstanceID, d.tagKeyRegexes, client)
tags, err := connectAndFetchEc2Tags(d.ec2Client, meta.Region, meta.InstanceID, d.tagKeyRegexes, client)
if err != nil {
d.logger.Warn("failed fetching ec2 instance tags", zap.Error(err))
} else {
Expand Down

0 comments on commit a1e2aff

Please sign in to comment.