remove hardcoded host

This commit is contained in:
dovholuknf
2021-06-10 14:30:49 -04:00
parent db0fa2fed6
commit 4a33480dd0
@@ -1200,7 +1200,7 @@ function waitForController {
# echo "waiting for https://${ZITI_EDGE_CONTROLLER_API}"
# sleep 2
#done
while [[ "$(curl -w "%{http_code}" -m 1 -s -k -o /dev/null https://sg3:1280/version)" != "200" ]]; do
while [[ "$(curl -w "%{http_code}" -m 1 -s -k -o /dev/null https://${ZITI_EDGE_CONTROLLER_API}/version)" != "200" ]]; do
echo "waiting for https://${ZITI_EDGE_CONTROLLER_API}"
done
}