mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-28 20:39:45 +01:00
Compare commits
2 Commits
fd1fcf90a4
...
bb8ef3bdb8
| Author | SHA1 | Date | |
|---|---|---|---|
| bb8ef3bdb8 | |||
| 99aa451620 |
@@ -868,7 +868,6 @@ class PortainerApi:
|
||||
headers = ["StackID", "Name", "Endpoint"]
|
||||
print(tabulate.tabulate(data, headers=headers, tablefmt="github"))
|
||||
print(f"Total stacks: {count}")
|
||||
input("Continue...")
|
||||
# print(sorted(stack_names))
|
||||
|
||||
def update_containers(self):
|
||||
@@ -1104,7 +1103,7 @@ class PortainerApi:
|
||||
# print(path)
|
||||
params={"pullImage": pull}
|
||||
try:
|
||||
resp = self._api_post(path, json=params, timeout=20)
|
||||
resp = self._api_post(path, json=params, timeout=120)
|
||||
#print(resp)
|
||||
except ValueError as e:
|
||||
print(f"Error restarting service: {e}")
|
||||
|
||||
Reference in New Issue
Block a user