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