Add missing detect-project to detect-minions

pull/6/head
Satnam Singh 2014-12-12 15:26:52 -08:00
parent 77064e2891
commit 91a75c7620
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ function upload-server-tars() {
# Vars set:
# KUBE_MINION_IP_ADDRESS (array)
function detect-minions () {
if [[ -z "${PROJECT-}" ]]; then
detect-project
fi
KUBE_MINION_IP_ADDRESSES=()
for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
local minion_ip=$(gcloud compute instances describe --project "${PROJECT}" --zone "${ZONE}" \