Merge pull request #3854 from vieux/fix_tests

remove TestAllocateTCPPortLocalhost faillure in tests
This commit is contained in:
Victor Vieux 2014-01-30 13:59:32 -08:00
commit 9481afa617
1 changed files with 1 additions and 1 deletions

View File

@ -1742,7 +1742,7 @@ func (srv *Server) ContainerCreate(job *engine.Job) engine.Status {
return engine.StatusErr
}
config := ContainerConfigFromJob(job)
if config.Memory != 0 && config.Memory < 524288 {
if config.Memory > 0 && config.Memory < 524288 {
job.Errorf("Minimum memory limit allowed is 512k")
return engine.StatusErr
}