Fix bug in fault header format

This commit is contained in:
Joshua Boniface 2023-12-09 16:47:56 -05:00
parent 7e6d922877
commit 764e3e3722
1 changed files with 5 additions and 5 deletions

View File

@ -388,13 +388,13 @@ def cli_cluster_fault_list_format_short(CLI_CONFIG, fault_data):
fault_id_length + fault_status_length + fault_health_delta_length + 2 fault_id_length + fault_status_length + fault_health_delta_length + 2
) )
detail_header_length = ( detail_header_length = (
fault_health_delta_length fault_id_length
+ fault_health_delta_length
+ fault_status_length + fault_status_length
+ fault_last_reported_length + fault_last_reported_length
+ fault_message_length + fault_message_length
+ 3 + 3
- meta_header_length - meta_header_length
+ 8
) )
# Format the string (header) # Format the string (header)