Skip to content

Commit

Permalink
Fixing small login hygiene issues
Browse files Browse the repository at this point in the history
  • Loading branch information
boostchicken authored and jpkrohling committed Jan 18, 2022
1 parent edb8fe7 commit 54bee73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions processor/filterprocessor/filter_processor_traces.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ func newFilterSpansProcessor(logger *zap.Logger, cfg *Config) (*filterSpanProces
return nil, err
}

includeMatchType := ""
includeMatchTypem, excludeMatchType := "[None]"
if cfg.Spans.Include != nil {
includeMatchType = string(cfg.Spans.Include.MatchType)
}

excludeMatchType := ""
if cfg.Spans.Exclude != nil {
excludeMatchType = string(cfg.Spans.Exclude.MatchType)
}
Expand Down

0 comments on commit 54bee73

Please sign in to comment.