Hide topology in long output

This commit is contained in:
Joshua Boniface 2024-05-21 16:40:47 -04:00
parent 1f18e88c06
commit 2fcee28fed
1 changed files with 5 additions and 4 deletions

View File

@ -1562,6 +1562,7 @@ def format_info(config, domain_information, long_output):
ansiprint.purple(), ansiprint.end(), domain_information["vcpu"] ansiprint.purple(), ansiprint.end(), domain_information["vcpu"]
) )
) )
if long_output is True:
ainformation.append( ainformation.append(
"{}Topology (S/C/T):{} {}".format( "{}Topology (S/C/T):{} {}".format(
ansiprint.purple(), ansiprint.end(), domain_information["vcpu_topology"] ansiprint.purple(), ansiprint.end(), domain_information["vcpu_topology"]