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__"]
|
||||
print(service_ids)
|
||||
if "__ONLY_CHECK__" in service_ids:
|
||||
print("ONLY CHECK")
|
||||
service_ids.remove("__ONLY_CHECK__")
|
||||
self.args.update = False
|
||||
else:
|
||||
@@ -984,12 +985,13 @@ class Portainer:
|
||||
else:
|
||||
service_ids = [self.args.service_id]
|
||||
|
||||
if self.args.update is False:
|
||||
pull = False
|
||||
print("Checking for updates only...")
|
||||
else:
|
||||
if self.args.update:
|
||||
pull = True
|
||||
print("Checking for updates and pulling updates...")
|
||||
else:
|
||||
pull = False
|
||||
print("Checking for updates only...")
|
||||
|
||||
|
||||
|
||||
longest = 0
|
||||
|
||||
Reference in New Issue
Block a user