Fix kube-up.sh for OS X.

This commit is contained in:
Brendan Burns 2015-02-06 16:35:39 -08:00
parent b77abb5945
commit 49a9f8b512

View File

@ -815,7 +815,7 @@ function setup-logging-firewall {
sleep 10
done
local -r region="${ZONE::-2}"
local -r region="${ZONE:0:${#ZONE}-2}"
local -r es_ip=$(gcloud compute forwarding-rules --project "${PROJECT}" describe --region "${region}" elasticsearch-logging | grep IPAddress | awk '{print $2}')
local -r kibana_ip=$(gcloud compute forwarding-rules --project "${PROJECT}" describe --region "${region}" kibana-logging | grep IPAddress | awk '{print $2}')
echo