Commit 121a291a authored by Daniel Smith's avatar Daniel Smith

Merge pull request #2915 from satnam6502/robust

Add missing detect-project to detect-minions
parents 1edff239 91a75c76
......@@ -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}" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment