From 12fe281169aae9e48502616b0be3d2d01e509f5d Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 11 Jun 2018 22:57:18 -0400 Subject: [PATCH] Fix up spacing --- pvc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pvc.py b/pvc.py index 585fb2d4..f0fb29b3 100755 --- a/pvc.py +++ b/pvc.py @@ -158,7 +158,7 @@ def node_list(): List all hypervisor nodes in the cluster. """ - node_list_header = ansiiprint.bold() + 'Name State: Daemon Nodes Resources: VMs CPUs RAM [MiB]: Total Used Free Allocated' + ansiiprint.end() + node_list_header = ansiiprint.bold() + 'Name State: Daemon Nodes Resources: VMs CPUs RAM [MiB]: Total Used Free Allocated' + ansiiprint.end() node_list = [] zk = pvcf.startZKConnection(zk_host) for node_name in zk.get_children('/nodes'): @@ -189,7 +189,7 @@ def node_list(): else: domain_state_colour = ansiiprint.blue() - node_output_string = '{3: <28} {0}{4: <6}{2} {1}{5: <8}{2} {6: <4} {7: <4} {8: <6} {9: <6} {10: <6} {11: <6}'.format( + node_output_string = '{3: <28} {0}{4: <8}{2} {1}{5: <8}{2} {6: <4} {7: <4} {8: <6} {9: <6} {10: <6} {11: <6}'.format( daemon_state_colour, domain_state_colour, ansiiprint.end(),