mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-28 20:39:45 +01:00
build
This commit is contained in:
@@ -343,7 +343,6 @@ class PortainerApi:
|
|||||||
# print(stack)
|
# print(stack)
|
||||||
cont = []
|
cont = []
|
||||||
data = {}
|
data = {}
|
||||||
|
|
||||||
eps = [ep for ep in self.all_data['endpoints']['by_id'].keys()]
|
eps = [ep for ep in self.all_data['endpoints']['by_id'].keys()]
|
||||||
#input(eps)
|
#input(eps)
|
||||||
for endpoint in eps:
|
for endpoint in eps:
|
||||||
@@ -364,7 +363,7 @@ class PortainerApi:
|
|||||||
contr = []
|
contr = []
|
||||||
try:
|
try:
|
||||||
for c in containers:
|
for c in containers:
|
||||||
#input(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:
|
||||||
|
|||||||
Reference in New Issue
Block a user