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

Fix container wait error message to match server template for returning 404

Addresses #8107

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
This commit is contained in:
Phil Estes 2014-09-19 13:33:00 -04:00
parent e91de29e08
commit be6bce6ab8

View file

@ -16,5 +16,5 @@ func (daemon *Daemon) ContainerWait(job *engine.Job) engine.Status {
job.Printf("%d\n", status)
return engine.StatusOK
}
return job.Errorf("%s: no such container: %s", job.Name, name)
return job.Errorf("%s: No such container: %s", job.Name, name)
}