Skip to content

Commit 5b87b89

Browse files
updated the validation file
1 parent 6bb6e4f commit 5b87b89

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

scripts/validate_model_quota.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,16 +185,19 @@ check_fallback_regions() {
185185
for region in "${RECOMMENDED_REGIONS[@]}"; do
186186
echo " - $region"
187187
done
188+
prompt_yes_no "❓ Do you want to proceed by selecting one of these regions? (y/n): " || {
189+
ask_for_location
190+
return
191+
}
188192
fi
189193
echo -e "👉 You can manually choose one of the recommended fallback regions for deployment."
190194
else
191195
echo -e "\n❌ ERROR: No region has sufficient quota."
192-
fi
193-
194-
prompt_yes_no "❓ Proceed anyway? (y/n): " || {
195196
ask_for_location
196197
return
197-
}
198+
fi
199+
200+
198201
}
199202

200203
# ---------- Parse Inputs ----------

0 commit comments

Comments
 (0)