Browse Source

Merge pull request #5096 from vieux/remove_double_warning

remove double deprecation warning
Solomon Hykes 11 năm trước cách đây
mục cha
commit
b28ef0e984
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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
 	)
 	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{}
 		if err := json.Unmarshal([]byte(*flConfig), config); err != nil {
 			return err