Fix bug in fault header format
This commit is contained in:
parent
7e6d922877
commit
764e3e3722
|
@ -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
|
||||
)
|
||||
detail_header_length = (
|
||||
fault_health_delta_length
|
||||
fault_id_length
|
||||
+ fault_health_delta_length
|
||||
+ fault_status_length
|
||||
+ fault_last_reported_length
|
||||
+ fault_message_length
|
||||
+ 3
|
||||
- meta_header_length
|
||||
+ 8
|
||||
)
|
||||
|
||||
# Format the string (header)
|
||||
|
|
Loading…
Reference in New Issue