Small refactoring leftover from

This commit is contained in:
Alfonso Acosta
2017-08-15 12:36:43 +00:00
parent 90d0e79e65
commit 4be194d236
+1 -1
View File
@@ -201,7 +201,7 @@ launch() {
print_app_endpoints() {
HOST_SUFFIX=""
if [ -n "${DOCKER_HOST+x}" ]; then
DOCKER_HOSTNAME=$(docker run --rm $USERNS_HOST --net=host --entrypoint /bin/sh "$SCOPE_IMAGE" -c hostname)
DOCKER_HOSTNAME=$(run_in_scope_container hostname)
HOST_SUFFIX=" of host $DOCKER_HOSTNAME"
fi
echo "Weave Scope is listening at the following URL(s)${HOST_SUFFIX}:" >&2