mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-28 20:39:45 +01:00
build
This commit is contained in:
2
port.py
2
port.py
@@ -873,7 +873,7 @@ class Portainer:
|
||||
def update_containers(self):
|
||||
all_containers = self.all_data["containers"][self.args.endpoint_id]
|
||||
#input(all_containers)
|
||||
service_tuples = [(s[1], s[0]) for s in all_containers if "." not in s[0] and not s[0].startswith("runner_")]
|
||||
service_tuples = [(s[1], s[0]) for s in all_containers if "." not in s[0] and not s[1].startswith("runner_")]
|
||||
service_tuples = sorted(service_tuples, key=lambda x: x[1])
|
||||
service_dict = dict(service_tuples)
|
||||
# input(service_tuples)
|
||||
|
||||
Reference in New Issue
Block a user