Skip to content

Commit

Permalink
@pcrespov and @mrnicegyu11 reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Nov 24, 2022
1 parent 8125f88 commit fe3d161
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ async def pending_service_tasks_with_insufficient_resources(
)

def _is_task_waiting_for_resources(task: Task) -> bool:
# NOTE: https://docs.docker.com/engine/swarm/how-swarm-mode-works/swarm-task-states/
if (
not task.Status
or not task.Status.State
Expand Down

0 comments on commit fe3d161

Please sign in to comment.