We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46d4194 commit 8800dbfCopy full SHA for 8800dbf
1 file changed
src/azure-cli/azure/cli/command_modules/acs/_validators.py
@@ -486,9 +486,9 @@ def validate_max_unavailable(namespace):
486
487
try:
488
if int(int_or_percent) < 0:
489
- raise CLIError("--max-unavailable must be positive")
+ raise InvalidArgumentValueError("--max-unavailable must be positive")
490
except ValueError:
491
- raise CLIError("--max-unavailable should be an int or percentage")
+ raise InvalidArgumentValueError("--max-unavailable should be an int or percentage")
492
493
494
def validate_assign_identity(namespace):
0 commit comments