Skip to content

Commit e3e8c73

Browse files
[Postgres] Remove high availability parameter from storage type validation
1 parent 122b8eb commit e3e8c73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/azure-cli/azure/cli/command_modules/rdbms/validators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def pg_arguments_validator(db_context, location, tier, sku_name, storage_gb, ser
338338
supported_storageV2_size = sku_info[tier.lower()]["supported_storageV2_size"]
339339
else:
340340
supported_storageV2_size = None
341-
_pg_storage_type_validator(storage_type, auto_grow, high_availability, geo_redundant_backup, performance_tier,
341+
_pg_storage_type_validator(storage_type, auto_grow, geo_redundant_backup, performance_tier,
342342
tier, supported_storageV2_size, iops, throughput, instance)
343343
_pg_storage_performance_tier_validator(performance_tier,
344344
sku_info,
@@ -890,7 +890,7 @@ def validate_identities(cmd, namespace):
890890
namespace.identities = [_validate_identity(cmd, namespace, identity) for identity in namespace.identities]
891891

892892

893-
def _pg_storage_type_validator(storage_type, auto_grow, high_availability, geo_redundant_backup, performance_tier, tier,
893+
def _pg_storage_type_validator(storage_type, auto_grow, geo_redundant_backup, performance_tier, tier,
894894
supported_storageV2_size, iops, throughput, instance):
895895
is_create_ssdv2 = storage_type == "PremiumV2_LRS"
896896
is_update_ssdv2 = instance is not None and instance.storage.type == "PremiumV2_LRS"

0 commit comments

Comments
 (0)