Browse Source

chore: update golangci-lint

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
pull/2247/head
Mark Sagi-Kazar 5 years ago
parent
commit
22db25ef94
No known key found for this signature in database
GPG Key ID: 31AB0439F4C5C90E
  1. 2
      Makefile
  2. 2
      storage/kubernetes/client_test.go

2
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

2
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 {

Loading…
Cancel
Save