mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2025-12-14 10:44:52 +01:00
build
This commit is contained in:
@@ -354,6 +354,10 @@ def prompt_missing_args(args_in, defaults_in, fields, action=None,stacks=None):
|
||||
|
||||
if field == "site" and value_in != cur_site:
|
||||
por.get_site(value_in)
|
||||
if value_in == "portainer":
|
||||
defaults_in["PORTAINER_ENDPOINT_ID"] = "m-s"
|
||||
elif value_in == "port":
|
||||
defaults_in["PORTAINER_ENDPOINT_ID"] = "vm01"
|
||||
if field == "stack" and value_in != cur_site:
|
||||
os.environ[field] = ",".join(value_in)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user