mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b3e1178ad0
`docker kill 123` will show something like: `Error response from daemon: Cannot kill container 123: nosuchcontainer: No such container: 123` Notice the `nosuchcontainer` text, that should not be there as that's an internal ID that means nothing to the end user. This PR fixes this by using `util.GetErrorMessage()` to extract just the message. While in that dir I found a couple of other spots that could use the same call, just to be safe. Signed-off-by: Doug Davis <dug@us.ibm.com> |
||
---|---|---|
.. | ||
backend.go | ||
container.go | ||
container_routes.go | ||
copy.go | ||
exec.go | ||
inspect.go |