diff --git a/scripts/test-infra/verify.sh b/scripts/test-infra/verify.sh index a0bc89766..bd041d0f4 100755 --- a/scripts/test-infra/verify.sh +++ b/scripts/test-infra/verify.sh @@ -4,7 +4,7 @@ this_dir=`dirname $0` # Install deps gobinpath="$(go env GOPATH)/bin" -curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b "$gobinpath" v1.59.1 +curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b "$gobinpath" v1.60.3 export PATH=$PATH:$(go env GOPATH)/bin curl -sfL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash -s -- --version v3.15.3 diff --git a/test/e2e/utils/noderesourcetopology.go b/test/e2e/utils/noderesourcetopology.go index b58d29289..ff15a236c 100644 --- a/test/e2e/utils/noderesourcetopology.go +++ b/test/e2e/utils/noderesourcetopology.go @@ -228,7 +228,7 @@ func IsValidNodeTopology(nodeTopology *v1alpha2.NodeResourceTopology, kubeletCon return false } - if nodeTopology.Zones == nil || len(nodeTopology.Zones) == 0 { + if len(nodeTopology.Zones) == 0 { framework.Logf("failed to get topology zones from the node topology resource") return false }