mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-28 20:39:45 +01:00
build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user