Hostname -> Name

Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: 227f4bbdb3a1e9ff0011d1ebaed39b3cb19d9e75
Component: engine
This commit is contained in:
Victor Vieux
2014-11-17 21:54:11 +00:00
parent 4b4f9725e6
commit addb2d43fa
5 changed files with 6 additions and 7 deletions

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