From e785391985851607393f905cde2618e3431a6686 Mon Sep 17 00:00:00 2001 From: Curtis Robert Date: Wed, 23 Feb 2022 17:08:22 -0800 Subject: [PATCH] Fix linting failures of incorrect indentation --- .../processor/filtermetric/filtermetric.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/coreinternal/processor/filtermetric/filtermetric.go b/internal/coreinternal/processor/filtermetric/filtermetric.go index 69dc2e07674c..982fc64810d2 100644 --- a/internal/coreinternal/processor/filtermetric/filtermetric.go +++ b/internal/coreinternal/processor/filtermetric/filtermetric.go @@ -30,7 +30,7 @@ func CreateMatchPropertiesFromDefault(properties *filterconfig.MatchProperties) } return &MatchProperties{ - MatchType: MatchType(properties.Config.MatchType), + MatchType: MatchType(properties.Config.MatchType), RegexpConfig: properties.Config.RegexpConfig, MetricNames: properties.MetricNames, Expressions: properties.Expressions, @@ -55,18 +55,18 @@ func SkipMetric(include, exclude Matcher, metric pdata.Metric) bool { if include != nil { // A false (or an error) returned in this case means the metric should not be processed. i, err := include.MatchMetric(metric) - if !i || err != nil { + if !i || err != nil { return true } } if exclude != nil { // A true (or an error) returned in this case means the span should not be processed. - e, err := exclude.MatchMetric(metric); - if e || err != nil { + e, err := exclude.MatchMetric(metric) + if e || err != nil { return true } } return false -} \ No newline at end of file +}