Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/azure-cli/azure/cli/command_modules/vm/_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -2834,8 +2834,8 @@ def _validate_capacity_reservation_group(cmd, namespace):
if getattr(namespace, 'capacity_reservation_group', None) is not None and \
getattr(namespace, 'disable_capacity_reservation_assignment', None) is True:
raise MutuallyExclusiveArgumentError(
"You can only specify one of --capacity-reservation-group and "
"--disable-capacity-reservation-assignment")
"--capacity-reservation-group cannot be used when --disable-capacity-reservation-assignment is set to true."
)

if namespace.capacity_reservation_group and namespace.capacity_reservation_group != 'None':

Expand Down
Loading