Skip to content

Commit

Permalink
Fix golangci-lint violations
Browse files Browse the repository at this point in the history
This PR fixed golangci-lint violations in status_manager_test.go which
would make all PR fail on the current CI. I'm ignoring staticcheck on
that file rather than ignoring only the specific SA1019 as per this [1]
issue on golangci-lint.

[1] golangci/golangci-lint#741
  • Loading branch information
danielmellado committed Mar 10, 2021
1 parent 1f30134 commit af53dc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/statusmanager/status_manager_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package statusmanager

//nolint:staticcheck
import (
"context"
"encoding/json"
Expand Down

0 comments on commit af53dc2

Please sign in to comment.