podman/pkg
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
..
annotations Spelling 2020-12-22 13:34:31 -05:00
api Removing a non existing container API should return 404 2021-03-10 04:08:29 -05:00
auth Enable whitespace linter 2021-02-11 23:01:56 +01:00
autoupdate Correct compat images/create?fromImage response 2021-02-26 03:08:10 +01:00
bindings Handle podman build --dns-search 2021-03-07 08:08:32 -05:00
cgroups Merge pull request #9464 from giuseppe/fix-cgroupv1-stats 2021-02-22 15:48:44 -05:00
channel fix closed the remote connection on pull causes service panic 2020-10-03 11:38:38 +08:00
checkpoint Use functions and defines from checkpointctl 2021-03-02 17:00:06 +00:00
copy podman cp: support copying on tmpfs mounts 2021-03-04 15:43:12 +01:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Removing a non existing container API should return 404 2021-03-10 04:08:29 -05:00
env Ensure DefaultEnvVariables is used in Specgen 2020-08-18 15:17:46 -04:00
errorhandling Reduce general binding binary size 2021-01-13 09:35:24 -06:00
hooks bump go module to v3 2021-02-22 09:03:51 +01:00
inspect bump go module to v3 2021-02-22 09:03:51 +01:00
kubeutils prune remotecommand dependency 2021-02-25 10:02:41 -06:00
lookup Enable whitespace linter 2021-02-11 23:01:56 +01:00
namespaces [CI:DOCS] BZ1860126 - Fix userns defaults in run man page 2020-08-07 15:42:13 -04:00
netns bump go module to v3 2021-02-22 09:03:51 +01:00
parallel bump go module to v3 2021-02-22 09:03:51 +01:00
ps bump go module to v3 2021-02-22 09:03:51 +01:00
registrar bump go module to v3 2021-02-22 09:03:51 +01:00
registries bump go module to v3 2021-02-22 09:03:51 +01:00
resolvconf bump go module to v3 2021-02-22 09:03:51 +01:00
rootless bump go module to v3 2021-02-22 09:03:51 +01:00
rootlessport Enable whitespace linter 2021-02-11 23:01:56 +01:00
seccomp Spelling 2020-12-22 13:34:31 -05:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal Fix build for mips architecture follow-up 2021-01-07 15:04:22 +01:00
specgen replace local mount consts with libpod/define 2021-03-07 12:03:34 +01:00
systemd Merge pull request #9445 from jmguzik/no-header-info-for-systemd-generation 2021-02-22 13:44:43 -05:00
terminal pkg/terminal: use c/storage/pkg/homedir 2021-03-08 09:21:13 +01:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
trust Enable whitespace linter 2021-02-11 23:01:56 +01:00
util Add U volume flag to chown source volumes 2021-02-22 22:55:19 -06:00