Skip to content

Commit 8800dbf

Browse files
author
yingnizhou
committed
update test
1 parent 46d4194 commit 8800dbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,9 +486,9 @@ def validate_max_unavailable(namespace):
486486

487487
try:
488488
if int(int_or_percent) < 0:
489-
raise CLIError("--max-unavailable must be positive")
489+
raise InvalidArgumentValueError("--max-unavailable must be positive")
490490
except ValueError:
491-
raise CLIError("--max-unavailable should be an int or percentage")
491+
raise InvalidArgumentValueError("--max-unavailable should be an int or percentage")
492492

493493

494494
def validate_assign_identity(namespace):

0 commit comments

Comments
 (0)