Merge pull request #3854 from vieux/fix_tests
remove TestAllocateTCPPortLocalhost faillure in tests Upstream-commit: 9481afa6172c8d50ffe6d5c9eff80d36361fa11e Component: engine
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user