mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Merge pull request #1859 from marquiz/devel/golangci-lint
scripts/test-infra: bump golangci-lint to v1.60.3
This commit is contained in:
commit
a3fa18c027
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ this_dir=`dirname $0`
|
||||||
|
|
||||||
# Install deps
|
# Install deps
|
||||||
gobinpath="$(go env GOPATH)/bin"
|
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
|
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
|
curl -sfL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash -s -- --version v3.15.3
|
||||||
|
|
|
@ -228,7 +228,7 @@ func IsValidNodeTopology(nodeTopology *v1alpha2.NodeResourceTopology, kubeletCon
|
||||||
return false
|
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")
|
framework.Logf("failed to get topology zones from the node topology resource")
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue