mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-17 11:49:59 +01:00
build
This commit is contained in:
2
port.py
2
port.py
@@ -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 []
|
||||||
|
|||||||
Reference in New Issue
Block a user