Skip to content

Commit a3fa18c

Browse files
authored
Merge pull request #1859 from marquiz/devel/golangci-lint
scripts/test-infra: bump golangci-lint to v1.60.3
2 parents 1fa31a5 + 91d6793 commit a3fa18c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/test-infra/verify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ this_dir=`dirname $0`
44

55
# Install deps
66
gobinpath="$(go env GOPATH)/bin"
7-
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b "$gobinpath" v1.59.1
7+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b "$gobinpath" v1.60.3
88
export PATH=$PATH:$(go env GOPATH)/bin
99

1010
curl -sfL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash -s -- --version v3.15.3

test/e2e/utils/noderesourcetopology.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func IsValidNodeTopology(nodeTopology *v1alpha2.NodeResourceTopology, kubeletCon
228228
return false
229229
}
230230

231-
if nodeTopology.Zones == nil || len(nodeTopology.Zones) == 0 {
231+
if len(nodeTopology.Zones) == 0 {
232232
framework.Logf("failed to get topology zones from the node topology resource")
233233
return false
234234
}

0 commit comments

Comments
 (0)