Skip to content

Commit

Permalink
use is_built property to check if image is built
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham3121 committed Jan 10, 2024
1 parent 021129a commit 04d116c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/node/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ def create_default_worker_pool(node: Node) -> Optional[SyftError]:

print("Building Default Worker Image")

if not default_image.built_at:
if not default_image.is_built:
# Build the Image for given tag
result = image_build_method(
context, image_uid=default_image.id, tag=DEFAULT_WORKER_IMAGE_TAG
Expand Down

0 comments on commit 04d116c

Please sign in to comment.