mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-29 12:59:44 +01:00
build
This commit is contained in:
@@ -972,6 +972,8 @@ class PortainerApi:
|
|||||||
|
|
||||||
def update_service(self):
|
def update_service(self):
|
||||||
all_services = self.get_services(self.get_endpoint_id())
|
all_services = self.get_services(self.get_endpoint_id())
|
||||||
|
if self.args.DEBUG:
|
||||||
|
print(all_services)
|
||||||
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