This commit is contained in:
2026-01-24 21:07:26 +01:00
parent ddeb67750f
commit 8ba22f79b9

View File

@@ -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