moby/api/server/router
Doug Davis b3e1178ad0 Fix error messages
`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>
2015-12-29 06:08:52 -08:00
..
build Remove package pkg/ulimit, use go-units instead. 2015-12-23 13:27:58 -05:00
container Fix error messages 2015-12-29 06:08:52 -08:00
local Move Config and HostConfig from runconfig to types/container. 2015-12-22 13:34:30 -05:00
network Add filter for network ls to hide predefined net 2015-12-23 13:26:40 +08:00
system Merge pull request #15964 from duglin/APIVersion 2015-12-16 14:23:47 -08:00
volume Modify improper comments in api/server/router/volume/volume.go 2015-11-08 04:05:59 +00:00
router.go Network remote APIs using new router, --net=<user-defined-network> changes 2015-10-07 03:54:19 -07:00