uppercase output in node inspect to keep consistency
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 89582e1a34a570c27232cd394d38f7fddf7e6520 Component: engine
This commit is contained in:
@ -96,7 +96,7 @@ func printNode(out io.Writer, node swarm.Node) {
|
||||
if node.ManagerStatus != nil {
|
||||
fmt.Fprintln(out, "Manager Status:")
|
||||
fmt.Fprintf(out, " Address:\t\t%s\n", node.ManagerStatus.Addr)
|
||||
fmt.Fprintf(out, " Raft status:\t\t%s\n", client.PrettyPrint(node.ManagerStatus.Reachability))
|
||||
fmt.Fprintf(out, " Raft Status:\t\t%s\n", client.PrettyPrint(node.ManagerStatus.Reachability))
|
||||
leader := "No"
|
||||
if node.ManagerStatus.Leader {
|
||||
leader = "Yes"
|
||||
|
||||
Reference in New Issue
Block a user