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
Original file line number Diff line number Diff line change
Expand Up @@ -2832,7 +2832,7 @@ def validate_edge_zone(cmd, namespace): # pylint: disable=unused-argument

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 not None:
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")
Comment on lines 2834 to 2838
Expand Down
Loading