From 6231711e8f492241b61ec1cf526d42adb707ce9a Mon Sep 17 00:00:00 2001 From: Michael Woods Date: Sun, 16 Feb 2025 11:33:51 -0500 Subject: [PATCH] Fixed bug with podman cleanup logic and new client arrangement. --- src/packetserver/runner/podman.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packetserver/runner/podman.py b/src/packetserver/runner/podman.py index b0d0c40..2b74e97 100644 --- a/src/packetserver/runner/podman.py +++ b/src/packetserver/runner/podman.py @@ -451,7 +451,6 @@ class PodmanOrchestrator(Orchestrator): def stop(self): logging.debug("Stopping podman orchestrator.") - self._client = None self.started = False cli = self.client self.user_containers = {} @@ -460,4 +459,5 @@ class PodmanOrchestrator(Orchestrator): logging.debug("Joining orchestrator manager thread.") self.manager_thread.join(timeout=15) logging.debug("Orchestrator manager thread stopped") - self.manager_thread = None \ No newline at end of file + self.manager_thread = None + self._client = None \ No newline at end of file