This commit is contained in:
2026-03-19 21:51:19 +01:00
parent c6bba8c9a5
commit 654c244f82
+4
View File
@@ -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)
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()])