Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ linters:
- hugeParam
- importShadow
- offBy1
- paramTypeCombine
- rangeValCopy
- regexpMust
- regexpSimplify
Expand Down Expand Up @@ -204,6 +203,7 @@ formatters:
enable:
- gci
- gofmt
- gofumpt
settings:
gci:
sections:
Expand All @@ -212,5 +212,7 @@ formatters:
- prefix(github.com/open-telemetry/opentelemetry-operator)
gofmt:
simplify: true
gofumpt:
extra-rules: true
exclusions:
generated: lax
2 changes: 0 additions & 2 deletions hack/check-operator-ready.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ func main() {
}
return true, nil
})

if err != nil {
fmt.Println(err)
}
Expand Down Expand Up @@ -108,7 +107,6 @@ func main() {
}
return true, nil
})

if err != nil {
fmt.Println(err)
os.Exit(1)
Expand Down
Loading