mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-17 11:49:59 +01:00
build
This commit is contained in:
4
port.py
4
port.py
@@ -970,16 +970,12 @@ class Portainer:
|
||||
text="Choose a service:",
|
||||
values=service_tuples
|
||||
).run()
|
||||
print(service_tuples)
|
||||
if "__ONLY_CHECK__" in service_ids:
|
||||
print("ONLY CHECK")
|
||||
service_ids.remove("__ONLY_CHECK__")
|
||||
self.args.update = False
|
||||
else:
|
||||
self.args.update = True
|
||||
if "__ALL__" in service_ids:
|
||||
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__" and s[0] != "__ONLY_CHECK__"]
|
||||
print(service_ids)
|
||||
|
||||
elif self.args.service_id == "all":
|
||||
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__" and s[0] != "__ONLY_CHECK__"]
|
||||
|
||||
Reference in New Issue
Block a user