diff --git a/port.py b/port.py index 3c2b406..4ee198d 100644 --- a/port.py +++ b/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