From a62f26e43221dde340db9f17eb111fd5e19a378c Mon Sep 17 00:00:00 2001 From: "ladislav.dusa" Date: Sat, 22 Nov 2025 08:50:11 +0100 Subject: [PATCH] build --- port.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/port.py b/port.py index 1b4f344..61e9237 100644 --- a/port.py +++ b/port.py @@ -576,9 +576,9 @@ class Portainer: print(f"Error stoping stack: {e}") return [] if "Id" in json.loads(resp): - print(f"Stack {self.stacks_all[self.endpoint_id]["by_id"][stack]} : started") + print(f"Stack {self.stacks_all[self.endpoint_id]['by_id'][stack]} : started") else: - print(f"Stack {self.stacks_all[self.endpoint_id]["by_id"][stack]} : {json.loads(resp)['message']}") + print(f"Stack {self.stacks_all[self.endpoint_id]['by_id'][stack]} : {json.loads(resp)['message']}") return True def stop_stack(self,stack,endpoint_id): print(f"Stopping stack {stack}") @@ -599,9 +599,9 @@ class Portainer: print(f"Error stoping stack: {e}") return [] if "Id" in json.loads(resp): - print(f"Stack {self.stacks_all[self.endpoint_id]["by_id"][stack]} : stopped") + print(f"Stack {self.stacks_all[self.endpoint_id]['by_id'][stack]} : stopped") else: - print(f"Stack {self.stacks_all[self.endpoint_id]["by_id"][stack]} : {json.loads(resp)['message']}") + print(f"Stack {self.stacks_all[self.endpoint_id]['by_id'][stack]} : {json.loads(resp)['message']}") return True def delete_stack(self, endpoint_id=None, stack=None, timeout=None):