diff --git a/port.py b/port.py index 9ed45aa..b23915b 100644 --- a/port.py +++ b/port.py @@ -978,11 +978,11 @@ class Portainer: else: self.args.update = True if "__ALL__" in service_ids: - service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__"] + service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__" and s[0] != "__ONLY_CHECK__"] print(service_ids) elif self.args.service_id == "all": - service_ids = [s[0] for s in service_tuples if s[0] != "__ALL__"] + 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]