Skip "run_on" argument in output

This isn't required to know, it's internal.
This commit is contained in:
Joshua Boniface 2023-11-16 11:46:15 -05:00
parent 0d818017e8
commit 79f7e8f82e
1 changed files with 4 additions and 0 deletions

View File

@ -307,6 +307,10 @@ def cli_cluster_task_format_pretty(CLI_CONFIG, task_data):
updated_kwargs = list() updated_kwargs = list()
for arg_name, arg_data in task["kwargs"].items(): for arg_name, arg_data in task["kwargs"].items():
# Skip the "run_on" argument
if arg_name == "run_on":
continue
# task_arg_name column # task_arg_name column
_task_arg_name_length = len(str(arg_name)) + 1 _task_arg_name_length = len(str(arg_name)) + 1
if _task_arg_name_length > task_arg_name_length: if _task_arg_name_length > task_arg_name_length: