mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-17 03:40:00 +01:00
build
This commit is contained in:
18
port.py
18
port.py
@@ -971,6 +971,12 @@ class Portainer:
|
||||
values=service_tuples
|
||||
).run()
|
||||
print(service_tuples)
|
||||
if "__ALL__" in service_ids:
|
||||
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__"]
|
||||
if "__ONLY_CHECK__" in service_ids:
|
||||
service_ids.remove("__ONLY_CHECK__")
|
||||
self.args.update = False
|
||||
|
||||
elif self.args.service_id == "all":
|
||||
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__"]
|
||||
else:
|
||||
@@ -980,18 +986,12 @@ class Portainer:
|
||||
input()
|
||||
|
||||
if self.args.update is False:
|
||||
if "__ONLY_CHECK__" in service_ids:
|
||||
service_ids.remove("__ONLY_CHECK__")
|
||||
pull = False
|
||||
print("Checking for updates only...")
|
||||
else:
|
||||
pull = True
|
||||
print("Checking for updates and pulling updates 2...")
|
||||
pull = False
|
||||
print("Checking for updates only...")
|
||||
else:
|
||||
pull = True
|
||||
print("Checking for updates and pulling updates...")
|
||||
if "__ALL__" in service_ids:
|
||||
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__" and s[0] != "__ONLY_CHECK__"]
|
||||
|
||||
|
||||
longest = 0
|
||||
for a in service_dict.items():
|
||||
|
||||
Reference in New Issue
Block a user