Fix docker commit output

The id is returned as Id, not ID, so print the right thing.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
Upstream-commit: b61c1d0d42777023a6248c6e9de4bb4877a1857b
Component: engine
This commit is contained in:
Alexander Larsson
2014-02-03 14:59:09 +01:00
parent a5ec5d6bb6
commit 52ef7a7013

View File

@ -1472,7 +1472,7 @@ func (cli *DockerCli) CmdCommit(args ...string) error {
return err
}
fmt.Fprintf(cli.out, "%s\n", env.Get("ID"))
fmt.Fprintf(cli.out, "%s\n", env.Get("Id"))
return nil
}