Merge pull request #4230 from brendandburns/e2e2

Fix kube-up.sh for OS X.
This commit is contained in:
Zach Loafman 2015-02-06 16:51:02 -08:00
commit e9f74de68d

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