1
0

fix bd1f46de
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Konstantin Demin 2024-07-12 15:45:14 +03:00
parent bd1f46dec6
commit e6678b1a31
Signed by: krd
GPG Key ID: 4D56F87A8BA65FD0

View File

@ -32,7 +32,7 @@ z-pod-run() {
z-pod-images() { z-pod-images() {
local have_flags=0 local have_flags=0
case "$1" in case "$1" in
-* ) have_flags=1 ; break ;; -* ) have_flags=1 ;;
esac esac
if [ ${have_flags} = 1 ] ; then if [ ${have_flags} = 1 ] ; then
z-pod images "$@" z-pod images "$@"
@ -44,7 +44,7 @@ z-pod-images() {
z-pod-ps() { z-pod-ps() {
local have_flags=0 local have_flags=0
case "$1" in case "$1" in
-* ) have_flags=1 ; break ;; -* ) have_flags=1 ;;
esac esac
if [ ${have_flags} = 1 ] ; then if [ ${have_flags} = 1 ] ; then
z-pod ps "$@" z-pod ps "$@"
@ -56,7 +56,7 @@ z-pod-ps() {
z-pod-top() { z-pod-top() {
local have_flags=0 local have_flags=0
case "$1" in case "$1" in
-* ) have_flags=1 ; break ;; -* ) have_flags=1 ;;
esac esac
if [ ${have_flags} = 1 ] ; then if [ ${have_flags} = 1 ] ; then
z-pod top "$@" z-pod top "$@"