diff --git a/portainer/api.py b/portainer/api.py index 8e9636b..d205e5c 100644 --- a/portainer/api.py +++ b/portainer/api.py @@ -343,7 +343,6 @@ class PortainerApi: # print(stack) cont = [] data = {} - eps = [ep for ep in self.all_data['endpoints']['by_id'].keys()] #input(eps) for endpoint in eps: @@ -364,7 +363,7 @@ class PortainerApi: contr = [] try: for c in containers: - #input(c) + cont.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: