mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-29 04:49:44 +01:00
build
This commit is contained in:
@@ -974,6 +974,9 @@ class PortainerApi:
|
|||||||
all_services = self.get_services(self.get_endpoint_id())
|
all_services = self.get_services(self.get_endpoint_id())
|
||||||
if self.args.debug:
|
if self.args.debug:
|
||||||
print(all_services)
|
print(all_services)
|
||||||
|
if all_services == 503:
|
||||||
|
print("No services found on this endpoint.")
|
||||||
|
return False
|
||||||
if len(all_services) == 0:
|
if len(all_services) == 0:
|
||||||
print("No services found on this endpoint.")
|
print("No services found on this endpoint.")
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user