mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-14 18:44:53 +01:00
build
This commit is contained in:
@@ -284,12 +284,13 @@ def prompt_missing_args(args_in, defaults_in, fields, action=None):
|
||||
# User selected "Select ALL"
|
||||
value_in = commands # all real commands
|
||||
if "pihole" in value_in:
|
||||
if action == "create_stack":
|
||||
value_in.remove("pihole")
|
||||
value_in.insert(0, "pihole")
|
||||
elif action == "delete_stack":
|
||||
|
||||
if action == "delete_stack":
|
||||
value_in.remove("pihole")
|
||||
value_in.append("pihole")
|
||||
else:
|
||||
value_in.remove("pihole")
|
||||
value_in.insert(0, "pihole")
|
||||
print(" >> Stacks :", ",".join(value_in))
|
||||
else:
|
||||
value_in = (
|
||||
|
||||
Reference in New Issue
Block a user