mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 18:54:06 +00:00
gcloud compute instances list --zone -> --zones
This commit is contained in:
parent
661d6bde6f
commit
ee6e92473d
@ -1385,7 +1385,7 @@ function kube-down() {
|
|||||||
function get-replica-name() {
|
function get-replica-name() {
|
||||||
echo $(gcloud compute instances list \
|
echo $(gcloud compute instances list \
|
||||||
--project "${PROJECT}" \
|
--project "${PROJECT}" \
|
||||||
--zone "${ZONE}" \
|
--zones "${ZONE}" \
|
||||||
--regexp "$(get-replica-name-regexp)" \
|
--regexp "$(get-replica-name-regexp)" \
|
||||||
--format "value(name)" | head -n1)
|
--format "value(name)" | head -n1)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user