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

Commit 9654df4

Browse files
authored
Merge pull request #3585 from weaveworks/0peers
handle single node case where return peer list from kube-utils is empty
2 parents 6f39a15 + 17b45d9 commit 9654df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prog/weave-kube/launch.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ router_bridge_opts() {
8585
}
8686

8787
if [ -z "$KUBE_PEERS" ]; then
88-
if ! KUBE_PEERS=$(/home/weave/kube-utils) || [ -z "$KUBE_PEERS" ]; then
88+
if ! KUBE_PEERS=$(/home/weave/kube-utils); then
8989
echo Failed to get peers >&2
9090
exit 1
9191
fi

0 commit comments

Comments
 (0)