From 3d2291093c8620a6530de1b72d89d071d6b9f6f7 Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Mon, 30 Jan 2017 14:27:02 +0100 Subject: [PATCH] scope: fix URL Symptoms: the Scope URL are printed this way: ``` Weave Scope is reachable at the following URL(s): * http://10.2.2.1 172.16.28.1 172.16.28.1 192.168.99.1 192.168.35.117 172.16.28.1 172.16.28.1 192.168.122.1:4040/ ``` Regression from https://github.com/weaveworks/scope/pull/2068 --- scope | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scope b/scope index 5597b50da..fb0e1637b 100755 --- a/scope +++ b/scope @@ -250,7 +250,8 @@ case "$COMMAND" in launch "$@" if ! check_probe_only; then IP_ADDRS=$(docker run --rm --net=host --entrypoint /bin/sh "$SCOPE_IMAGE" -c "$IP_ADDR_CMD") - print_app_endpoints "$IP_ADDRS" + # shellcheck disable=SC2086 + print_app_endpoints $IP_ADDRS fi ;;