Skip to content

Commit

Permalink
fixes lint for comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dchappa committed Sep 9, 2024
1 parent 81300e3 commit 33c203e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporter/awsemfexporter/metric_translator.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ func (mt metricTranslator) translateOTelToGroupedMetric(rm pmetric.ResourceMetri
}

func fetchEntityFields(resourceAttributes pcommon.Map) (cloudwatchlogs.Entity, pcommon.Map) {
//the original resourceAttributes map is immutable, so we need to create a mutable copy
//to remove the entity fields from the attributes
// the original resourceAttributes map is immutable, so we need to create a mutable copy
// to remove the entity fields from the attributes
mutableResourceAttributes := pcommon.NewMap()
resourceAttributes.CopyTo(mutableResourceAttributes)
serviceKeyAttr := map[string]*string{
Expand Down

0 comments on commit 33c203e

Please sign in to comment.