remove double deprecation warning

Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)
Upstream-commit: 9260c06f7a7cb172205dc45af96870ec0d02ebcd
Component: engine
This commit is contained in:
Victor Vieux
2014-04-08 20:58:19 +00:00
parent 352a05bd56
commit fbd324c9f0
-1
View File
@@ -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