mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-14 10:44:52 +01:00
build
This commit is contained in:
1
port.py
1
port.py
@@ -1076,6 +1076,7 @@ class Portainer:
|
|||||||
|
|
||||||
def restart_service(self, endpoint_id, service_id):
|
def restart_service(self, endpoint_id, service_id):
|
||||||
stacks = [(s["Id"], s["Name"]) for s in self.get_stacks(endpoint_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(
|
stack_id = radiolist_dialog(
|
||||||
title="Select one service",
|
title="Select one service",
|
||||||
text="Choose a service:",
|
text="Choose a service:",
|
||||||
|
|||||||
Reference in New Issue
Block a user