소스 검색

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)
Alexander Larsson 11 년 전
부모
커밋
b61c1d0d42
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      commands.go

+ 1 - 1
commands.go

@@ -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
 }