This commit is contained in:
2026-01-05 17:45:29 +01:00
parent e411c81224
commit 3152014ca3

View File

@@ -364,7 +364,7 @@ class PortainerApi:
print(f"Containers: {containers}") print(f"Containers: {containers}")
try: try:
for c in containers: for c in containers:
print(c)
cont.append([c["Names"][0].replace("/", ""),c["Id"], c['Image']]) cont.append([c["Names"][0].replace("/", ""),c["Id"], c['Image']])
contr.append([c["Names"][0].replace("/", ""), c["Id"], c['Image']]) contr.append([c["Names"][0].replace("/", ""), c["Id"], c['Image']])
if self.all_data["endpoints"]["by_id"][endpoint] in data: if self.all_data["endpoints"]["by_id"][endpoint] in data: