From f1b4ee02ba25735a8870de79219251179979b607 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 9 Oct 2021 18:50:32 -0400 Subject: [PATCH] Fix bad header length in network list --- client-cli/pvc/cli_lib/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-cli/pvc/cli_lib/network.py b/client-cli/pvc/cli_lib/network.py index 2ad049e1..b4be723f 100644 --- a/client-cli/pvc/cli_lib/network.py +++ b/client-cli/pvc/cli_lib/network.py @@ -610,7 +610,7 @@ def format_list(config, network_list): networks_header_length=net_vni_length + net_description_length + 1, config_header_length=net_nettype_length + net_mtu_length + net_domain_length + net_v6_flag_length + net_dhcp6_flag_length + net_v4_flag_length + net_dhcp4_flag_length + 7, networks_header='Networks ' + ''.join(['-' for _ in range(9, net_vni_length + net_description_length)]), - config_header='Config ' + ''.join(['-' for _ in range(7, net_nettype_length + net_domain_length + net_v6_flag_length + net_dhcp6_flag_length + net_v4_flag_length + net_dhcp4_flag_length + 5)])) + config_header='Config ' + ''.join(['-' for _ in range(7, net_nettype_length + net_mtu_length + net_domain_length + net_v6_flag_length + net_dhcp6_flag_length + net_v4_flag_length + net_dhcp4_flag_length + 6)])) ) network_list_output.append('{bold}\ {net_vni: <{net_vni_length}} \