Skip to content

Commit e5d1420

Browse files
Refactor quota_check_params.sh to simplify argument handling and remove unused fallback logic
1 parent 79ab147 commit e5d1420

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

content-gen/infra/script/quota_check_params.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,10 @@ while [[ $# -gt 0 ]]; do
2626
esac
2727
done
2828

29-
# Fallback to defaults if not provided
30-
[[ -z "$MODELS" ]]
31-
[[ -z "$REGIONS" ]]
32-
3329
echo "Models: $MODELS"
3430
echo "Regions: $REGIONS"
3531
echo "Verbose: $VERBOSE"
3632

37-
for arg in "$@"; do
38-
if [ "$arg" = "--verbose" ]; then
39-
VERBOSE=true
40-
fi
41-
done
42-
4333
log_verbose() {
4434
if [ "$VERBOSE" = true ]; then
4535
echo "$1"

0 commit comments

Comments
 (0)