Hostname -> Name

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux
2014-11-20 17:40:08 +00:00
parent 6e92dfdfd8
commit 227f4bbdb3
5 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -505,8 +505,8 @@ func (cli *DockerCli) CmdInfo(args ...string) error {
if remoteInfo.Exists("MemTotal") {
fmt.Fprintf(cli.out, "Total Memory: %s\n", units.BytesSize(float64(remoteInfo.GetInt64("MemTotal"))))
}
if remoteInfo.Exists("Hostname") {
fmt.Fprintf(cli.out, "Hostname: %s\n", remoteInfo.Get("Hostname"))
if remoteInfo.Exists("Name") {
fmt.Fprintf(cli.out, "Name: %s\n", remoteInfo.Get("Name"))
}
if remoteInfo.Exists("ID") {
fmt.Fprintf(cli.out, "ID: %s\n", remoteInfo.Get("ID"))