mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-27 11:16:53 +00:00
remove double deprecation warning
Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)
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