Merge pull request #5096 from vieux/remove_double_warning
remove double deprecation warning Upstream-commit: b28ef0e984c02f05298a64d79a499a52ea2f0c76 Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user