This commit is contained in:
2025-12-16 23:51:41 +01:00
parent 45a0b0030c
commit cd32ad1d3e

10
port.py
View File

@@ -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