Skip to content

Commit

Permalink
Use should_continue()
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavid committed Sep 10, 2024
1 parent 4509c5a commit f7a9bed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/gento
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ BASE_APP_USAGE="$(
}
readonly \
BASE_APP_USAGE \
BASE_APP_VERSION=0.9.20240303 \
BASE_MIN_VERSION=0.9.20230606
BASE_APP_VERSION=0.9.20240911 \
BASE_MIN_VERSION=0.9.20240909
. base.sh

# First extracts a version from a sidecar settings file, on failure extracts
Expand Down Expand Up @@ -155,8 +155,8 @@ is_cnf_running() {
--no-headers \
--output custom-columns=:metadata.name \
--selector="$lb" | grep --quiet . ||
yes_to_continue \
There is no a running pod with "$lb" in "$ns", continue?
should_continue \
There is no running pod with "$lb" in "$ns", continue || cya
done
i=$((i + 1))
done
Expand Down

0 comments on commit f7a9bed

Please sign in to comment.