automation-tests/pkg/api/handlers
Daniel J Walsh f1eb8e8162
Removing a non existing container API should return 404
Currently we were overwrapping error returned from removal
of a non existing container.

$ podman rm bogus -f
Error: failed to evict container: "": failed to find container "bogus" in state: no container with name or ID bogus found: no such container

Removal of wraps gets us to.

./bin/podman rm bogus -f
Error: no container with name or ID "bogus" found: no such container

Finally also added quotes around container name to help make it standout
when you get an error, currently it gets lost in the error.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-10 04:08:29 -05:00
..
compat Removing a non existing container API should return 404 2021-03-10 04:08:29 -05:00
libpod rm pkg/api/handlers/libpod/copy.go 2021-03-09 09:27:03 +01:00
swagger bump go module to v3 2021-02-22 09:03:51 +01:00
utils Use version package to track all versions 2021-03-03 17:03:19 -07:00
decoder.go bump go module to v3 2021-02-22 09:03:51 +01:00
types.go bump go module to v3 2021-02-22 09:03:51 +01:00