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