Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
format
Browse files Browse the repository at this point in the history
Michaelvll committed Aug 21, 2024
1 parent 7eb24c2 commit 711d2d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sky/provision/aws/instance.py
Original file line number Diff line number Diff line change
@@ -469,9 +469,9 @@ def _create_node_tag(target_instance, is_head: bool = True) -> str:
reverse=True)
for r in target_reservations_list:
if r.available_resources <= 0:
# We have sorted the reservations by the available resources,
# so if the reservation is not available, the following
# reservations are not available either.
# We have sorted the reservations by the available
# resources, so if the reservation is not available, the
# following reservations are not available either.
break
reservation_count = min(r.available_resources, to_start_count)
logger.debug(f'Creating {reservation_count} instances '

0 comments on commit 711d2d1

Please sign in to comment.