Skip to content

Commit

Permalink
Fix lint in associator
Browse files Browse the repository at this point in the history
Followup of #1081
  • Loading branch information
cristiangreco committed Aug 1, 2023
1 parent d091557 commit 1705e35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/job/maxdimassociator/associator.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ func (assoc Associator) AssociateMetricToResource(cwMetric *model.Metric) (*mode
if resource, ok := regexpMapping.dimensionsMapping[signature]; ok {
logger.Debug("resource matched", "signature", signature)
return resource, false
} else {
// Otherwise, continue iterating across the rest of regex mappings
// to attempt to find another one with fewer dimensions.
logger.Debug("resource not matched", "signature", signature)
}

// Otherwise, continue iterating across the rest of regex mappings
// to attempt to find another one with fewer dimensions.
logger.Debug("resource not matched", "signature", signature)
}
}

Expand Down

0 comments on commit 1705e35

Please sign in to comment.