Fix idempotency of docker_compose_v2_pull. (#814)

This commit is contained in:
Felix Fontein
2024-03-13 13:20:11 +01:00
committed by GitHub
parent 6600f501ae
commit 4bab9a6b0e
5 changed files with 33 additions and 18 deletions
+2
View File
@@ -409,6 +409,8 @@ def has_changes(events, ignore_service_pull_events=False):
if ignore_service_pull_events and event.status in DOCKER_STATUS_PULL:
continue
return True
if event.resource_type == ResourceType.IMAGE_LAYER and event.status in DOCKER_PULL_PROGRESS_WORKING:
return True
return False