From 3b89cd5a0cb9c0a1a3ee8344d5f8d636ae46575a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20K=C5=82obuszewski?= Date: Fri, 18 Oct 2024 14:51:58 +0200 Subject: [PATCH] Prevent update-deps.sh from creating vendor dir We no longer keep vendored files in CA repo. --- cluster-autoscaler/hack/update-deps.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cluster-autoscaler/hack/update-deps.sh b/cluster-autoscaler/hack/update-deps.sh index 50ebcf12b96b..2c1a89446a64 100755 --- a/cluster-autoscaler/hack/update-deps.sh +++ b/cluster-autoscaler/hack/update-deps.sh @@ -54,7 +54,7 @@ cluster_autoscaler:list_mods() { k8s_version="${1:-${VERSION}}" if [ -z "${k8s_version}" ]; then - echo "Usage: hack/update-vendor.sh " + echo "Usage: hack/update-deps.sh " exit 1 fi cluster_autoscaler:list_mods:init "${k8s_version}" > /dev/null @@ -97,7 +97,6 @@ cluster_autoscaler:update_deps() { if [ "${pkg}" = "./cluster-autoscaler" ]; then go get "k8s.io/kubernetes@v${k8s_version}" go mod tidy - go mod vendor "${SED}" -i "s|\(const ClusterAutoscalerVersion = \)\".*\"|\1\"${k8s_version}\"|" "version/version.go" fi