Skip to content

Commit

Permalink
Merge pull request #1859 from marquiz/devel/golangci-lint
Browse files Browse the repository at this point in the history
scripts/test-infra: bump golangci-lint to v1.60.3
  • Loading branch information
k8s-ci-robot committed Sep 2, 2024
2 parents 1fa31a5 + 91d6793 commit a3fa18c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/test-infra/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/utils/noderesourcetopology.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a3fa18c

Please sign in to comment.