fix azure fault domain zone override
fixes
[finishes
@@ -17,8 +17,7 @@ echo $$ > $PIDFILE
zone_flag=""
<% if p("diego.rep.use_azure_fault_domains") %>
set +e
- #azure_fd=$(curl -f --max-time 5 --connect-timeout 5 --silent http://169.254.169.254/metadata/v1/InstanceInfo/FD)
- azure_fd=TEST_ZONE
+ azure_fd=$(curl -f --max-time 5 --connect-timeout 5 --silent http://169.254.169.254/metadata/v1/InstanceInfo/FD)
if [ 0 -eq $? ]; then
zone_flag="-zone=z${azure_fd}"
fi
