mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-05-04 15:49:49 +02:00
Compare commits
3 Commits
64c3615705
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 5adb2c7c2e | |||
| 8067ac8561 | |||
| 79e9e708b4 |
@@ -48,7 +48,7 @@ def setup_vault():
|
||||
# Specify the mount point of your KV engine
|
||||
return vclient
|
||||
|
||||
VERSION = "0.1.76"
|
||||
VERSION = "0.1.77"
|
||||
|
||||
|
||||
defaults = {
|
||||
|
||||
Binary file not shown.
+2
-2
@@ -180,7 +180,7 @@ class PortainerApi:
|
||||
def _api_get(self, path, timeout=120):
|
||||
url = f"{self.base_url.rstrip('/')}{path}"
|
||||
headers = {"X-API-Key": f"{self.token}"}
|
||||
resp = requests.get(url, headers=headers, timeout=timeout)
|
||||
resp = requests.get(url, headers=headers, timeout=120)
|
||||
if resp.status_code != 200:
|
||||
return resp.status_code
|
||||
print(f"Error: {resp.status_code} - {resp.text}")
|
||||
@@ -277,7 +277,7 @@ class PortainerApi:
|
||||
stcks = []
|
||||
stacks = self._api_get(path, timeout=timeout)
|
||||
self.stacks_all = {}
|
||||
fail_endponts = [20, 39, 41, 32, 43]
|
||||
fail_endponts = [20, 39, 41, 32, 43, 44]
|
||||
# print(json.dumps(stacks,indent=2))
|
||||
webhooks = {}
|
||||
for s in stacks:
|
||||
|
||||
Reference in New Issue
Block a user