Skip to content

Commit 5e48f4f

Browse files
committed
Update warning text
1 parent eb51746 commit 5e48f4f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/azure-cli/azure/cli/command_modules/postgresql/_flexible_server_location_capabilities_util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ def _postgres_parse_list_capability(result, is_offer_restriction_check_required=
5555
geo_backup = [feature for feature in supported_features if feature.name == "GeoBackup"]
5656
autonomous_tuning = [feature for feature in supported_features if feature.name == "IndexTuning"]
5757

58+
# Update once capability calls are corrected for each command
5859
if restricted == "Enabled" and not is_offer_restriction_check_required:
59-
raise InvalidArgumentValueError("The location is restricted for provisioning of flexible servers. Please try using another region.")
60+
raise InvalidArgumentValueError("The location is restricted from performing this operation.")
6061

6162
if restricted != "Disabled" and not is_offer_restriction_check_required:
6263
raise InvalidArgumentValueError("No available SKUs in this location.")

0 commit comments

Comments
 (0)