Browse code

remove double deprecation warning

Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)

Victor Vieux authored on 2014/04/09 05:58:19
Showing 1 changed files
... ...
@@ -1472,7 +1472,6 @@ func (cli *DockerCli) CmdCommit(args ...string) error {
1472 1472
 		env    engine.Env
1473 1473
 	)
1474 1474
 	if *flConfig != "" {
1475
-		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")
1476 1475
 		config = &runconfig.Config{}
1477 1476
 		if err := json.Unmarshal([]byte(*flConfig), config); err != nil {
1478 1477
 			return err