Compare commits

...

3 Commits

Author SHA1 Message Date
jaydee 5adb2c7c2e build 2026-03-29 20:18:13 +02:00
jaydee 8067ac8561 build 2026-03-28 12:33:16 +01:00
jaydee 79e9e708b4 build 2026-03-28 12:33:00 +01:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ def setup_vault():
# Specify the mount point of your KV engine # Specify the mount point of your KV engine
return vclient return vclient
VERSION = "0.1.76" VERSION = "0.1.77"
defaults = { defaults = {
Binary file not shown.
+2 -2
View File
@@ -180,7 +180,7 @@ class PortainerApi:
def _api_get(self, path, timeout=120): def _api_get(self, path, timeout=120):
url = f"{self.base_url.rstrip('/')}{path}" url = f"{self.base_url.rstrip('/')}{path}"
headers = {"X-API-Key": f"{self.token}"} 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: if resp.status_code != 200:
return resp.status_code return resp.status_code
print(f"Error: {resp.status_code} - {resp.text}") print(f"Error: {resp.status_code} - {resp.text}")
@@ -277,7 +277,7 @@ class PortainerApi:
stcks = [] stcks = []
stacks = self._api_get(path, timeout=timeout) stacks = self._api_get(path, timeout=timeout)
self.stacks_all = {} self.stacks_all = {}
fail_endponts = [20, 39, 41, 32, 43] fail_endponts = [20, 39, 41, 32, 43, 44]
# print(json.dumps(stacks,indent=2)) # print(json.dumps(stacks,indent=2))
webhooks = {} webhooks = {}
for s in stacks: for s in stacks: