forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clustermesh: Fix clustermesh status when clusters are not connected
`cilium clustermesh status` was inadvertently broken by cilium/cilium-cli#123 when clusters have not been connected yet. Fix this by expliticly checking cluster's name and id instead of checking the number of connections. Add the same warning about missing cluster name and/or id to `cilium clustermesh enable` as well with a note that external workloads do not need either. Fixes: #166 Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
- Loading branch information
1 parent
50adf71
commit 8c823ee
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters