From db9d6d0bffc8a3bc3fc1f4476e1b3a44c1e82983 Mon Sep 17 00:00:00 2001 From: Joakim Roubert Date: Tue, 23 Jun 2020 13:30:52 +0200 Subject: [PATCH] util.sh: Replace wait-until-stable with wait-until --stable This change follows the recommendation from the CI logs: "WARNING: `gcloud compute instance-groups managed wait-until-stable` is deprecated. Please use `gcloud compute instance-groups managed wait-until --stable` instead." Signed-off-by: Joakim Roubert --- cluster/gce/util.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 2c9fc2b8926..9668181752f 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -3033,7 +3033,7 @@ function create-linux-nodes() { --base-instance-name "${extra_group_name}" \ --size "${num_additional}" \ --template "${extra_template_name}" || true; - gcloud compute instance-groups managed wait-until-stable \ + gcloud compute instance-groups managed wait-until --stable \ "${extra_group_name}" \ --zone "${ZONE}" \ --project "${PROJECT}" \ @@ -3064,7 +3064,7 @@ function create-linux-nodes() { --base-instance-name "${group_name}" \ --size "${this_mig_size}" \ --template "${template_name}" || true; - gcloud compute instance-groups managed wait-until-stable \ + gcloud compute instance-groups managed wait-until --stable \ "${group_name}" \ --zone "${ZONE}" \ --project "${PROJECT}" \ @@ -3104,7 +3104,7 @@ function create-windows-nodes() { --base-instance-name "${group_name}" \ --size "${this_mig_size}" \ --template "${template_name}" || true; - gcloud compute instance-groups managed wait-until-stable \ + gcloud compute instance-groups managed wait-until --stable \ "${group_name}" \ --zone "${ZONE}" \ --project "${PROJECT}" \