diff --git a/portainer/api.py b/portainer/api.py index 0dba81f..02d5053 100644 --- a/portainer/api.py +++ b/portainer/api.py @@ -926,7 +926,9 @@ class PortainerApi: updates = [] for service_id in service_ids: # print(self.all_data["containers"][self.args.endpoint_id]) - + if service_dict[service_id] in self.args.excluded: + print(f"App {service_dict[service_id]} excluded") + continue print("\033[?25l", end="") print(f"{service_dict[service_id]:<{longest}} ", end="", flush=True) path = f"/docker/{self.get_endpoint_id()}/containers/{service_id}/image_status?refresh=true"