Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Avrahami committed May 2, 2024
1 parent a5ef982 commit 2669afd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions yellowbox/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,8 @@ def _get_up_to_date_image(docker_client: DockerClient, image: str) -> Image:
try:
local_image = docker_client.images.get(image)
except ImageNotFound:
print("!!! A")
return docker_client.images.pull(image, platform=None)
else:
print("!!! B")
return local_image
# we check if we should update the local image by checking the remote repo digest
image_repo_digests = local_image.attrs.get("RepoDigests")
if image_repo_digests is None:
Expand Down

0 comments on commit 2669afd

Please sign in to comment.