From 04d116caa158474f482206191f792ca499999520 Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Wed, 10 Jan 2024 16:01:30 +0530 Subject: [PATCH] use is_built property to check if image is built --- packages/syft/src/syft/node/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/src/syft/node/node.py b/packages/syft/src/syft/node/node.py index 6bcaed79c10..e83a1c56d8b 100644 --- a/packages/syft/src/syft/node/node.py +++ b/packages/syft/src/syft/node/node.py @@ -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