Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Ontiveros committed Jul 5, 2023
1 parent a5b878e commit 263c064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/api/admin/openshiftcluster_validatestatic.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func invalidMaintenanceState(state MaintenanceState) bool {
fallthrough
case MaintenanceStateUnplanned:
return false

}

return true
Expand Down
3 changes: 2 additions & 1 deletion pkg/monitor/cluster/clustermaintenancestate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import (
"testing"

"github.com/Azure/ARO-RP/pkg/api"
mock_metrics "github.com/Azure/ARO-RP/pkg/util/mocks/metrics"
"github.com/golang/mock/gomock"

Check failure on line 12 in pkg/monitor/cluster/clustermaintenancestate_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

File is not `gofmt`-ed with `-s` (gofmt)
mock_metrics "github.com/Azure/ARO-RP/pkg/util/mocks/metrics"
)

func TestEmitClusterMaintenanceState(t *testing.T) {
Expand Down

0 comments on commit 263c064

Please sign in to comment.