Skip to content

Commit 34a260d

Browse files
committed
fixed wrong type
1 parent c792827 commit 34a260d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/autoscaling/src/simcore_service_autoscaling/modules/auto_scaling_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ async def _cleanup_disconnected_nodes(app: FastAPI, cluster: Cluster) -> Cluster
176176
removeable_nodes = [
177177
node
178178
for node in cluster.disconnected_nodes
179-
if node.UpdatedAt
179+
if node.updated_at
180180
and (
181-
(utc_now - arrow.get(node.UpdatedAt).datetime).total_seconds()
181+
(utc_now - arrow.get(node.updated_at).datetime).total_seconds()
182182
> _DELAY_FOR_REMOVING_DISCONNECTED_NODES_S
183183
)
184184
]

0 commit comments

Comments
 (0)