1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

fix run no parameter

This commit is contained in:
Victor Vieux 2013-05-07 20:59:04 +02:00
parent 59a6316f5e
commit 4079411375
4 changed files with 30 additions and 34 deletions

View file

@ -1080,10 +1080,6 @@ func CmdRun(args ...string) error {
cmd.Usage()
return nil
}
if len(config.Cmd) == 0 {
cmd.Usage()
return nil
}
//create the container
body, statusCode, err := call("POST", "/containers", *config)