This commit is contained in:
2026-01-24 20:59:37 +01:00
parent 0dda82be87
commit 5adfbbcf3d

View File

@@ -972,6 +972,8 @@ class PortainerApi:
def update_service(self):
all_services = self.get_services(self.get_endpoint_id())
if self.args.DEBUG:
print(all_services)
if len(all_services) == 0:
print("No services found on this endpoint.")
return False