From fe2f9ddd4b459072dc05ebae9c3a322b400b6900 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 15 Dec 2025 08:30:57 +0100 Subject: [PATCH] build --- port.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port.py b/port.py index 19c2bab..20e13ec 100644 --- a/port.py +++ b/port.py @@ -1053,7 +1053,7 @@ class Portainer: def recreate_container(self,service_id, pull=False): """Restart a service on an endpoint.""" - path = f"/endpoints/{self.endpoint_id}/containers/{service_id}/recreate" + path = f"/docker/{self.endpoint_id}/containers/{service_id}/recreate" print(path) params={"pullImage": pull} try: