From 8eed9f9e132434275ea6fb33bb1f910423cc1825 Mon Sep 17 00:00:00 2001 From: mmmohebi Date: Tue, 18 Nov 2025 13:20:04 +0330 Subject: [PATCH] feat(hoster): Update container ID retrieval Retrieve container ID from 'Actor.ID' and add validation --- hoster.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hoster.py b/hoster.py index 2ff830b..f1016f1 100644 --- a/hoster.py +++ b/hoster.py @@ -51,7 +51,9 @@ def main(): continue action = event.get("Action") - container_id = event.get("id") + container_id = event.get("Actor", {}).get("ID") + if not container_id: + continue if action == "start": c = get_container(container_id)