This commit is contained in:
2025-12-16 23:20:52 +01:00
parent 926248fda7
commit 928e4daae6

View File

@@ -887,11 +887,12 @@ class Portainer:
values=service_tuples
).run()
elif self.args.service_id == "all":
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__" and s[0] != "__ONLY_CHECK__"]
service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__" ]
else:
service_ids = [self.args.service_id]
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: