From fff44ab44e4d280ce78300350f2b5946be5abffd Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Thu, 12 Dec 2019 20:52:56 -0500 Subject: [PATCH] Make node limit output nicer --- client-common/vm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client-common/vm.py b/client-common/vm.py index dec03421..4f2fb239 100644 --- a/client-common/vm.py +++ b/client-common/vm.py @@ -730,9 +730,8 @@ def format_info(zk_conn, domain_information, long_output): ainformation.append('') ainformation.append('{}Failure reason:{} {}'.format(ansiprint.purple(), ansiprint.end(), domain_information['failed_reason'])) - ainformation.append('') ainformation.append('{}Migration selector:{} {}'.format(ansiprint.purple(), ansiprint.end(), domain_information['node_selector'])) - ainformation.append('{}Node limit:{} {}'.format(ansiprint.purple(), ansiprint.end(), domain_information['node_limit'])) + ainformation.append('{}Node limit:{} {}'.format(ansiprint.purple(), ansiprint.end(), ', '.join(domain_information['node_limit']))) ainformation.append('{}Autostart:{} {}'.format(ansiprint.purple(), ansiprint.end(), domain_information['node_autostart'])) # Network list