Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit 90a81ce

Browse files
authored
Merge pull request #3319 from weaveworks/weave-reset-err
Make error "Weave is not running" less confusing when running on Kubernetes
2 parents 9cf0dd1 + c7259fc commit 90a81ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weave

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ launch() {
12581258
stop() {
12591259
util_op remove-plugin-network weave || true
12601260
warn_if_stopping_proxy_in_env
1261-
util_op stop-container $CONTAINER_NAME >/dev/null 2>&1 || echo "Weave is not running." >&2
1261+
util_op stop-container $CONTAINER_NAME >/dev/null 2>&1 || echo "Weave is not running (ignore on Kubernetes)." >&2
12621262
# In case user has upgraded from <v2.0 and left old containers running
12631263
util_op stop-container $OLD_PLUGIN_CONTAINER_NAME >/dev/null 2>&1 || true
12641264
util_op stop-container $OLD_PROXY_CONTAINER_NAME >/dev/null 2>&1 || true

0 commit comments

Comments
 (0)