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

handle single node case where return peer list from kube-utils is empty #3585

Merged
merged 1 commit into from
Feb 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prog/weave-kube/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ router_bridge_opts() {
}

if [ -z "$KUBE_PEERS" ]; then
if ! KUBE_PEERS=$(/home/weave/kube-utils) || [ -z "$KUBE_PEERS" ]; then
if ! KUBE_PEERS=$(/home/weave/kube-utils); then
echo Failed to get peers >&2
exit 1
fi
Expand Down