Correct weave stop advice

Fixes #1408.
This commit is contained in:
Adam Harrison committed 2015-09-10 17:23:33 +01:00
1 parent 7a41337d17
commit ac145052d6
1 file changed
+1 -1
+1 -1
View File
@@ -1074,7 +1074,7 @@ proxy_addr() {
warn_if_stopping_proxy_in_env() {
if PROXY_ADDR=$(proxy_addr 2>/dev/null) ; then
[ "$PROXY_ADDR" != "$DOCKER_CLIENT_HOST" ] || echo "WARNING: It appears that your environment is configured to use the Weave Docker API proxy. Stopping it will break this and subsequent docker invocations. To restore your environment, run '\$(eval weave env --restore)'."
[ "$PROXY_ADDR" != "$DOCKER_CLIENT_HOST" ] || echo "WARNING: It appears that your environment is configured to use the Weave Docker API proxy. Stopping it will break this and subsequent docker invocations. To restore your environment, run 'eval \$(weave env --restore)'."
fi
}