uppercase output in node inspect to keep consistency

Signed-off-by: allencloud <allen.sun@daocloud.io>
(cherry picked from commit 89582e1a34)
This commit is contained in:
allencloud 2016-06-27 18:26:58 +08:00 committed by Tibor Vass
parent 460418f035
commit a3b8c1a80e
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -104,7 +104,7 @@ Example output:
Availability: Active
Manager Status:
Address: 172.17.0.2:2377
Raft status: Reachable
Raft Status: Reachable
Leader: Yes
Platform:
Operating System: linux