From 22db25ef949475e819df23e2fa021b67f0f7f398 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Tue, 17 Aug 2021 15:55:45 +0200 Subject: [PATCH] chore: update golangci-lint Signed-off-by: Mark Sagi-Kazar --- Makefile | 2 +- storage/kubernetes/client_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b0ced741..0de702e6 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ export GOBIN=$(PWD)/bin LD_FLAGS="-w -X main.version=$(VERSION)" # Dependency versions -GOLANGCI_VERSION = 1.40.1 +GOLANGCI_VERSION = 1.42.0 PROTOC_VERSION = 3.15.6 PROTOC_GEN_GO_VERSION = 1.26.0 diff --git a/storage/kubernetes/client_test.go b/storage/kubernetes/client_test.go index 5fee5774..bfe2d038 100644 --- a/storage/kubernetes/client_test.go +++ b/storage/kubernetes/client_test.go @@ -72,7 +72,7 @@ func TestInClusterTransport(t *testing.T) { fpath := filepath.Join(os.TempDir(), "test.in_cluster") defer os.RemoveAll(fpath) - err = ioutil.WriteFile(fpath, []byte("def"), 0644) + err = ioutil.WriteFile(fpath, []byte("def"), 0o644) require.NoError(t, err) tests := []struct {