From acd7f5045d6df3d82cf17da4d2387ba68278d139 Mon Sep 17 00:00:00 2001 From: Colin Hom Date: Mon, 19 Sep 2016 12:00:08 -0700 Subject: [PATCH] gce/util: $replica-pd --> $replica_pd fixes #32997 --- 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 27579a8a94c..f01ac264762 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -1191,13 +1191,13 @@ function kube-down() { # Delete the master replica pd (possibly leaked by kube-up if master create failed). # TODO(jszczepkowski): remove also possibly leaked replicas' pds - local -r replica-pd="${REPLICA_NAME:-${MASTER_NAME}}-pd" - if gcloud compute disks describe "${replica-pd}" --zone "${ZONE}" --project "${PROJECT}" &>/dev/null; then + local -r replica_pd="${REPLICA_NAME:-${MASTER_NAME}}-pd" + if gcloud compute disks describe "${replica_pd}" --zone "${ZONE}" --project "${PROJECT}" &>/dev/null; then gcloud compute disks delete \ --project "${PROJECT}" \ --quiet \ --zone "${ZONE}" \ - "${replica-pd}" + "${replica_pd}" fi # Delete disk for cluster registry if enabled