This commit is contained in:
2025-12-17 00:10:12 +01:00
parent 91702d8f4a
commit 0cbbb443f2

View File

@@ -1109,7 +1109,7 @@ class Portainer:
params={"serviceID": service_id, "pullImage": pool} params={"serviceID": service_id, "pullImage": pool}
try: try:
resp = self._api_put(path, json=params, timeout=20) resp = self._api_put(path, json=params, timeout=20)
print(resp) # print(resp)
except ValueError as e: except ValueError as e:
print(f"Error restarting service: {e}") print(f"Error restarting service: {e}")
return [] return []