mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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)
This commit is contained in:
parent
a446b34719
commit
b61c1d0d42
1 changed files with 1 additions and 1 deletions
|
@ -1472,7 +1472,7 @@ func (cli *DockerCli) CmdCommit(args ...string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(cli.out, "%s\n", env.Get("ID"))
|
fmt.Fprintf(cli.out, "%s\n", env.Get("Id"))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue