Skip to content

Commit

Permalink
Merge pull request #290 from nitishfy/Nitish/go-get-deprecated
Browse files Browse the repository at this point in the history
Transfer go get to go install
  • Loading branch information
k8s-ci-robot authored Jan 2, 2024
2 parents b307cd5 + be5d99e commit e7106e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/verify-apidiff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fi
if ! which apidiff > /dev/null; then
echo "Installing golang.org/x/exp/cmd/apidiff..."
pushd "${TMPDIR:-/tmp}" > /dev/null
go get golang.org/x/exp/cmd/apidiff
go install golang.org/x/exp/cmd/apidiff@latest
popd > /dev/null
fi

Expand Down
2 changes: 1 addition & 1 deletion hack/verify-golint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ source "${KUBE_ROOT}/hack/lib/util.sh"

if ! which golint > /dev/null; then
echo "installing golint"
go get golang.org/x/lint/golint
go install golang.org/x/lint/golint@latest
fi

cd "${KUBE_ROOT}"
Expand Down

0 comments on commit e7106e6

Please sign in to comment.