automation-tests/cmd/podman/utils
Daniel J Walsh 41f94a4dc1
Fix podman unpause,pause,kill --all to work like podman stop --all
Currently if you execute podman unpause --all, podman pause --all
Podman shows attempts to unpause containers that are not paused
and prints an error.  This PR catches this error and only prints errors if
a paused container was not able to be unpaused.

Currently if you execute podman pause --all or podman kill --all, Podman
Podman shows attempts to pause or kill containers that are not running
and prints an error.  This PR catches this error and only prints errors if
a running container was not able to be paused or killed.

Also change printing of multiple errors to go to stderr and to prefix
"Error: " in front to match the output of the last error.

Fixes: https://github.com/containers/podman/issues/11098

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-08-04 12:50:00 -04:00
..
alias.go Add podman run --timeout option 2021-04-23 11:18:05 -04:00
error.go Fix podman unpause,pause,kill --all to work like podman stop --all 2021-08-04 12:50:00 -04:00
signals_linux.go Support sighup reload configuration files 2020-08-18 14:42:49 -04:00
signals_windows.go Support sighup reload configuration files 2020-08-18 14:42:49 -04:00
utils.go bump go module to v3 2021-02-22 09:03:51 +01:00