Skip to content

Commit

Permalink
bump golangci-lint to 1.55.2 & fix linting problems
Browse files Browse the repository at this point in the history
Signed-off-by: Zbynek Roubalik <[email protected]>
  • Loading branch information
zroubalik committed Jan 3, 2024
1 parent 8099bda commit f6adc2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GOPATH:=$(shell go env GOPATH)

VERSION?=latest

GOLANGCI_VERSION:=1.52.2
GOLANGCI_VERSION:=1.55.2

.PHONY: all
all: build-test-adapter
Expand Down
2 changes: 1 addition & 1 deletion test-adapter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func main() {
cmd.WithExternalMetrics(testProvider)

if err := metrics.RegisterMetrics(legacyregistry.Register); err != nil {
klog.Fatal("unable to register metrics: %v", err)
klog.Fatalf("unable to register metrics: %v", err)
}

klog.Infof(cmd.Message)
Expand Down

0 comments on commit f6adc2c

Please sign in to comment.