From ea365e4cb37d037046364773d01a744b1258ce4e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 13 Jul 2016 00:57:15 +0200 Subject: [PATCH] Make labels human readable Signed-off-by: Sebastiaan van Stijn --- api/client/system/info.go | 4 ++-- docs/reference/commandline/info.md | 2 +- docs/swarm/swarm-tutorial/create-swarm.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/client/system/info.go b/api/client/system/info.go index fd018f42c0..9d51592789 100644 --- a/api/client/system/info.go +++ b/api/client/system/info.go @@ -82,11 +82,11 @@ func runInfo(dockerCli *client.DockerCli) error { if info.Swarm.Error != "" { fmt.Fprintf(dockerCli.Out(), " Error: %v\n", info.Swarm.Error) } - fmt.Fprintf(dockerCli.Out(), " IsManager: %v\n", info.Swarm.ControlAvailable) + fmt.Fprintf(dockerCli.Out(), " Is Manager: %v\n", info.Swarm.ControlAvailable) if info.Swarm.ControlAvailable { fmt.Fprintf(dockerCli.Out(), " Managers: %d\n", info.Swarm.Managers) fmt.Fprintf(dockerCli.Out(), " Nodes: %d\n", info.Swarm.Nodes) - ioutils.FprintfIfNotEmpty(dockerCli.Out(), " CACertHash: %s\n", info.Swarm.CACertHash) + ioutils.FprintfIfNotEmpty(dockerCli.Out(), " CA Certificate Hash: %s\n", info.Swarm.CACertHash) } } diff --git a/docs/reference/commandline/info.md b/docs/reference/commandline/info.md index 88514d1606..7d0743554f 100644 --- a/docs/reference/commandline/info.md +++ b/docs/reference/commandline/info.md @@ -56,7 +56,7 @@ storage driver and a node that is part of a 2 node Swarm cluster: Network: bridge null host overlay Swarm: NodeID: 0gac67oclbxq7 - IsManager: YES + Is Manager: true Managers: 2 Nodes: 2 Runtimes: default diff --git a/docs/swarm/swarm-tutorial/create-swarm.md b/docs/swarm/swarm-tutorial/create-swarm.md index d48aba43d5..b5649945bb 100644 --- a/docs/swarm/swarm-tutorial/create-swarm.md +++ b/docs/swarm/swarm-tutorial/create-swarm.md @@ -57,10 +57,10 @@ node. For example, the tutorial uses a machine named `manager1`. ...snip... Swarm: active NodeID: dxn1zf6l61qsb1josjja83ngz - IsManager: Yes + Is Manager: true Managers: 1 Nodes: 1 - CACertHash: sha256:b7986d3baeff2f5664dfe350eec32e2383539ec1a802ba541c4eb829056b5f61 + CA Certificate Hash: sha256:b7986d3baeff2f5664dfe350eec32e2383539ec1a802ba541c4eb829056b5f61 ...snip... ```