diff --git a/packages/syft/src/syft/custom_worker/k8s.py b/packages/syft/src/syft/custom_worker/k8s.py index 3c2e7e6551d..44eadab5d81 100644 --- a/packages/syft/src/syft/custom_worker/k8s.py +++ b/packages/syft/src/syft/custom_worker/k8s.py @@ -77,8 +77,8 @@ class PodStatus(BaseModel): def from_status_dict(cls: "PodStatus", status: dict): return cls( phase=PodPhase(status.get("phase", "Unknown")), - conditions=PodCondition.from_conditions(status.get("conditions", [])), - container_status=ContainerStatus.from_status( + condition=PodCondition.from_conditions(status.get("conditions", [])), + container=ContainerStatus.from_status( status.get("containerStatuses", {})[0] ), )