瀏覽代碼

remove double deprecation warning

Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)
Victor Vieux 11 年之前
父節點
當前提交
9260c06f7a
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      api/client/commands.go

+ 0 - 1
api/client/commands.go

@@ -1472,7 +1472,6 @@ func (cli *DockerCli) CmdCommit(args ...string) error {
 		env    engine.Env
 		env    engine.Env
 	)
 	)
 	if *flConfig != "" {
 	if *flConfig != "" {
-		fmt.Fprintf(cli.err, "WARNING: 'commit --run' is deprecated and will be removed in a future version, in favor of inline Dockerfile-compatible commands.\n")
 		config = &runconfig.Config{}
 		config = &runconfig.Config{}
 		if err := json.Unmarshal([]byte(*flConfig), config); err != nil {
 		if err := json.Unmarshal([]byte(*flConfig), config); err != nil {
 			return err
 			return err