mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-17 03:40:00 +01:00
build
This commit is contained in:
10
port.py
10
port.py
@@ -975,6 +975,7 @@ class Portainer:
|
|||||||
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__"]
|
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__"]
|
||||||
print(service_ids)
|
print(service_ids)
|
||||||
if "__ONLY_CHECK__" in service_ids:
|
if "__ONLY_CHECK__" in service_ids:
|
||||||
|
print("ONLY CHECK")
|
||||||
service_ids.remove("__ONLY_CHECK__")
|
service_ids.remove("__ONLY_CHECK__")
|
||||||
self.args.update = False
|
self.args.update = False
|
||||||
else:
|
else:
|
||||||
@@ -984,12 +985,13 @@ class Portainer:
|
|||||||
else:
|
else:
|
||||||
service_ids = [self.args.service_id]
|
service_ids = [self.args.service_id]
|
||||||
|
|
||||||
if self.args.update is False:
|
if self.args.update:
|
||||||
pull = False
|
|
||||||
print("Checking for updates only...")
|
|
||||||
else:
|
|
||||||
pull = True
|
pull = True
|
||||||
print("Checking for updates and pulling updates...")
|
print("Checking for updates and pulling updates...")
|
||||||
|
else:
|
||||||
|
pull = False
|
||||||
|
print("Checking for updates only...")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
longest = 0
|
longest = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user