Skip to content

Commit b0ce1c1

Browse files
committed
[AKS] az aks update: Fix typo on validation error for disabling azurecontainerstorage
1 parent 2efe55a commit b0ce1c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/azure-cli/azure/cli/command_modules/acs/azurecontainerstorage/_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def validate_disable_azure_container_storage_params(
509509
if storage_pool_type is not None and not isinstance(storage_pool_type, bool):
510510
raise InvalidArgumentValueError(
511511
'The latest version of Azure Container Storage only supports ephemeral nvme storage and does not '
512-
'require or support a storage-pool-type value for --enable-azure-container-storage parameter. '
512+
'require or support a storage-pool-type value for --disable-azure-container-storage parameter. '
513513
f'Please remove {storage_pool_type} from the command and try again.'
514514
)
515515

src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ def test_disable_with_storagepool_type_params(self):
15881588
)
15891589
err = (
15901590
'The latest version of Azure Container Storage only supports ephemeral nvme storage and does not '
1591-
'require or support a storage-pool-type value for --enable-azure-container-storage parameter. '
1591+
'require or support a storage-pool-type value for --disable-azure-container-storage parameter. '
15921592
f'Please remove {storage_pool_type} from the command and try again.'
15931593
)
15941594
self.assertEqual(str(cm.exception), err)

0 commit comments

Comments
 (0)