From 8ba22f79b91697379e7a933a7cd87922c3c5cc63 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 24 Jan 2026 21:07:26 +0100 Subject: [PATCH] build --- portainer/api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/portainer/api.py b/portainer/api.py index e63d97a..2b19b1b 100644 --- a/portainer/api.py +++ b/portainer/api.py @@ -974,6 +974,9 @@ class PortainerApi: all_services = self.get_services(self.get_endpoint_id()) if self.args.debug: print(all_services) + if all_services == 503: + print("No services found on this endpoint.") + return False if len(all_services) == 0: print("No services found on this endpoint.") return False