From f6adc2cd827e72a6e9c1b62a32a452b5e0fd2bad Mon Sep 17 00:00:00 2001 From: Zbynek Roubalik Date: Wed, 3 Jan 2024 15:18:58 +0100 Subject: [PATCH] bump golangci-lint to 1.55.2 & fix linting problems Signed-off-by: Zbynek Roubalik --- Makefile | 2 +- test-adapter/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c372c1e7..e7e79d9a 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/test-adapter/main.go b/test-adapter/main.go index 01eab9d9..0bafff36 100644 --- a/test-adapter/main.go +++ b/test-adapter/main.go @@ -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)