We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 151e874 commit 5970c72Copy full SHA for 5970c72
src/azure-cli/azure/cli/command_modules/acs/_validators.py
@@ -880,4 +880,4 @@ def validate_gateway_prefix_size(namespace):
880
if not hasattr(namespace, 'mode') or namespace.mode != CONST_NODEPOOL_MODE_GATEWAY:
881
raise ArgumentUsageError("--gateway-prefix-size can only be set for Gateway-mode nodepools")
882
if namespace.gateway_prefix_size < 28 or namespace.gateway_prefix_size > 31:
883
- raise CLIError("--gateway-prefix-size must be in the range [28, 31]")
+ raise InvalidArgumentValueError("--gateway-prefix-size must be in the range [28, 31]")
0 commit comments