From 04f5a059a49d437a01e57fc19f8c588916885be6 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 13 Dec 2025 22:15:40 +0100 Subject: [PATCH] build --- port.py | 1 + 1 file changed, 1 insertion(+) diff --git a/port.py b/port.py index 9c926ee..19c2bab 100644 --- a/port.py +++ b/port.py @@ -1076,6 +1076,7 @@ class Portainer: def restart_service(self, endpoint_id, service_id): stacks = [(s["Id"], s["Name"]) for s in self.get_stacks(endpoint_id)] + stacks = sorted(stacks, key=lambda x: x[1]) stack_id = radiolist_dialog( title="Select one service", text="Choose a service:",