spiegel_podman/pkg/domain
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
..
entities turn hidden --trace into a NOP 2021-03-08 09:22:42 +01:00
filters bump go module to v3 2021-02-22 09:03:51 +01:00
infra Removing a non existing container API should return 404 2021-03-10 04:08:29 -05:00
utils Fixup issues found by golint 2020-06-10 05:49:41 -04:00