Sort the names properly
This commit is contained in:
parent
d6b554e88e
commit
abbc361520
|
@ -578,8 +578,9 @@ def get_list(zk_conn, node, limit, raw):
|
||||||
click.echo('Error: Domain {} does not exist.'.format(domain))
|
click.echo('Error: Domain {} does not exist.'.format(domain))
|
||||||
|
|
||||||
if raw:
|
if raw:
|
||||||
for vm in vm_list:
|
print(vm_name)
|
||||||
click.echo(vm_name[vm])
|
for vm in sorted(vm_name.values()):
|
||||||
|
click.echo(vm)
|
||||||
return True, ''
|
return True, ''
|
||||||
|
|
||||||
# Determine optimal column widths
|
# Determine optimal column widths
|
||||||
|
|
Loading…
Reference in New Issue