Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryFissionGames committed Aug 8, 2022
1 parent 6a6338b commit caae310
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion internal/coreinternal/processor/filterconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ package filterconfig // import "github.com/open-telemetry/opentelemetry-collecto
import (
"errors"

"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset"
"go.opentelemetry.io/collector/pdata/plog"

"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/processor/filterset"
)

// MatchConfig has two optional MatchProperties one to define what is processed
Expand Down
4 changes: 2 additions & 2 deletions processor/filterprocessor/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ type LogMatchProperties struct {
}

// validate checks that the LogMatchProperties is valid
func (l LogMatchProperties) validate() error {
return l.MinSeverity.validate()
func (lmp LogMatchProperties) validate() error {
return lmp.MinSeverity.validate()
}

// isEmpty returns true if the properties is "empty" (meaning, there are no filters specified)
Expand Down

0 comments on commit caae310

Please sign in to comment.