Honor KUBE_HACK_TOOLS_GOTOOLCHAIN

This commit is contained in:
Jordan Liggitt
2025-02-14 12:08:30 -05:00
parent 2973b4b99a
commit 0ce48b5636
9 changed files with 33 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ PATH="${GOBIN}:${PATH}"
# Install golangci-lint
echo 'installing net parser converter'
go -C "${KUBE_ROOT}/hack/tools" install github.com/aojea/sloppy-netparser
GOTOOLCHAIN="$(kube::golang::hack_tools_gotoolchain)" go -C "${KUBE_ROOT}/hack/tools" install github.com/aojea/sloppy-netparser
cd "${KUBE_ROOT}"