chore: update golangci-lint

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2021-08-17 15:55:45 +02:00
parent 10a3ab9c4c
commit 22db25ef94
No known key found for this signature in database
GPG Key ID: 31AB0439F4C5C90E
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

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