From d7f202e2b84dc0dc5c1e49130de7d00a21c00af2 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 15 Dec 2025 08:35:41 +0100 Subject: [PATCH] build --- port.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/port.py b/port.py index 20e13ec..8696aa8 100644 --- a/port.py +++ b/port.py @@ -1054,11 +1054,11 @@ class Portainer: def recreate_container(self,service_id, pull=False): """Restart a service on an endpoint.""" path = f"/docker/{self.endpoint_id}/containers/{service_id}/recreate" - print(path) + #print(path) params={"pullImage": pull} try: resp = self._api_post(path, json=params, timeout=20) - print(resp) + #print(resp) except ValueError as e: print(f"Error restarting service: {e}") return []