This commit is contained in:
2025-12-16 23:26:43 +01:00
parent 497a1f7947
commit 498b88c7ee

View File

@@ -890,7 +890,7 @@ class Portainer:
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__" ]
else:
service_ids = [self.args.service_id]
print(self.args)
if self.args.update is False:
if "__ONLY_CHECK__" in service_ids:
service_ids.remove("__ONLY_CHECK__")
@@ -974,8 +974,11 @@ class Portainer:
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__" and s[0] != "__ONLY_CHECK__"]
else:
service_ids = [self.args.service_id]
print(self.args)
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: