automation-tests/pkg/api
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
..
handlers Removing a non existing container API should return 404 2021-03-10 04:08:29 -05:00
server Use version package to track all versions 2021-03-03 17:03:19 -07:00
types podman rmi: refactor logic 2020-04-21 08:12:25 +02:00
Makefile Rewire ListContainers for APIv2 libpod 2020-02-11 08:14:28 -06:00
tags.yaml Implement Secrets 2021-02-09 09:13:21 -05:00