From 79f7e8f82e4adc0c291b72968ef2ccf639c05c7e Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 16 Nov 2023 11:46:15 -0500 Subject: [PATCH] Skip "run_on" argument in output This isn't required to know, it's internal. --- client-cli/pvc/cli/formatters.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client-cli/pvc/cli/formatters.py b/client-cli/pvc/cli/formatters.py index b9b680a6..10206501 100644 --- a/client-cli/pvc/cli/formatters.py +++ b/client-cli/pvc/cli/formatters.py @@ -307,6 +307,10 @@ def cli_cluster_task_format_pretty(CLI_CONFIG, task_data): updated_kwargs = list() 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_length = len(str(arg_name)) + 1 if _task_arg_name_length > task_arg_name_length: