spiegel_podman/cmd/podman/containers
Paul Holzinger f2c365c6f6
rm --force work for more than one arg
When we remove with --force we do not return a error if the input does
not exists, however if we get more than on input we must try to remove
all and not just NOP out and not remove anything just because one arg
did not exists.

Also make the code simpler for commands that do have the --ignore option
and just make --force imply --ignore which reduces the ugly error
handling.

Fixes #21529

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-04-04 17:47:28 +02:00
..
attach.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
checkpoint.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
cleanup.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
clone.go add --retry --retry-delay to podman run/create 2024-02-29 10:20:21 -05:00
commit.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
container.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
cp.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
create.go add --retry --retry-delay to podman run/create 2024-02-29 10:20:21 -05:00
diff.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
exec.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
exists.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
export.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
init.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
inspect.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
kill.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
list.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
logs.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
mount.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
pause.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
port.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
prune.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
ps.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
rename.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
restart.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
restore.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
rm.go rm --force work for more than one arg 2024-04-04 17:47:28 +02:00
run.go add --retry --retry-delay to podman run/create 2024-02-29 10:20:21 -05:00
runlabel.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
start.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
stats.go utils: drop conversion float->string->float 2024-03-18 23:06:06 +01:00
stop.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
top.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
unmount.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
unpause.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
update.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
wait.go Bump Go module to v5 2024-02-08 09:35:39 -05:00