Files
podman/pkg/api/handlers/compat
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
..
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2020-03-10 08:03:41 -07:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2020-12-05 16:41:57 -07:00
2021-02-25 10:02:41 -06:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00