Change update-golangci-lint-config to new setup_env

This commit is contained in:
Tim Hockin
2023-12-09 16:21:24 -08:00
parent 714f8a0855
commit 3163fc4f69

View File

@@ -26,7 +26,7 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
source "${KUBE_ROOT}/hack/lib/init.sh" source "${KUBE_ROOT}/hack/lib/init.sh"
# This sets up the environment, like GOCACHE, which keeps the worktree cleaner. # This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
kube::golang::old::setup_env kube::golang::new::setup_env
# Remove all files, some of them might be obsolete. # Remove all files, some of them might be obsolete.
rm -f hack/golangci*.yaml rm -f hack/golangci*.yaml