mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-05-04 14:49:49 +02:00
build
This commit is contained in:
@@ -268,7 +268,11 @@ def prompt_missing_args(args_in, defaults_in, fields, action=None,stacks=None):
|
||||
print(por.all_data['stacks'][defaults_in[f"PORTAINER_ENDPOINT_ID".upper()]]['by_name'].keys())
|
||||
for s in por.all_data['stacks'][defaults_in[f"PORTAINER_ENDPOINT_ID".upper()]]['by_name'].keys():
|
||||
#print(s)
|
||||
commands.remove(s)
|
||||
try:
|
||||
commands.remove(s)
|
||||
except ValueError as e:
|
||||
print(e)
|
||||
|
||||
except KeyError:
|
||||
print("No stacks found for endpoint", defaults_in[f"PORTAINER_ENDPOINT_ID".upper()])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user