Fixed bug with podman cleanup logic and new client arrangement.
This commit is contained in:
@@ -451,7 +451,6 @@ class PodmanOrchestrator(Orchestrator):
|
|||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
logging.debug("Stopping podman orchestrator.")
|
logging.debug("Stopping podman orchestrator.")
|
||||||
self._client = None
|
|
||||||
self.started = False
|
self.started = False
|
||||||
cli = self.client
|
cli = self.client
|
||||||
self.user_containers = {}
|
self.user_containers = {}
|
||||||
@@ -460,4 +459,5 @@ class PodmanOrchestrator(Orchestrator):
|
|||||||
logging.debug("Joining orchestrator manager thread.")
|
logging.debug("Joining orchestrator manager thread.")
|
||||||
self.manager_thread.join(timeout=15)
|
self.manager_thread.join(timeout=15)
|
||||||
logging.debug("Orchestrator manager thread stopped")
|
logging.debug("Orchestrator manager thread stopped")
|
||||||
self.manager_thread = None
|
self.manager_thread = None
|
||||||
|
self._client = None
|
||||||
Reference in New Issue
Block a user