Remove verbose logging

This commit is contained in:
2025-10-15 17:33:29 +01:00
parent b71ca508ea
commit 14b74e8ecd
6 changed files with 22 additions and 66 deletions

View File

@@ -7,22 +7,10 @@
#
# usage: rsc_list_slas.sh [filter]
usage() { log_error "Usage: $0 [filter]"; exit 1; }
usage() { echo "Usage: $0 [filter]" >&2; exit 1; }
MYDIR="$(dirname "$(realpath "$0")")"
# Support -v/--verbose and strip it from positional args so it doesn't become $1
NEWARGS=()
for arg in "$@"; do
case "$arg" in
-v|--verbose)
VERBOSE=1
;;
*)
NEWARGS+=("$arg")
;;
esac
done
set -- "${NEWARGS[@]}"
# log_info prints by default now; no verbose flag
# source $MYDIR/rbk_api.conf
source $MYDIR/rsc_ops.sh