Skip to content
Snippets Groups Projects
Commit d4f119bd authored by Guido Trotter's avatar Guido Trotter
Browse files

gnt-instance info: sort the hv parameters


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 9cf4321f
No related branches found
No related tags found
No related merge requests found
...@@ -1175,7 +1175,7 @@ def ShowInstanceConfig(opts, args): ...@@ -1175,7 +1175,7 @@ def ShowInstanceConfig(opts, args):
vnc_bind_address) vnc_bind_address)
buf.write(" - console connection: vnc to %s\n" % vnc_console_port) buf.write(" - console connection: vnc to %s\n" % vnc_console_port)
for key in instance["hv_actual"]: for key in sorted(instance["hv_actual"]):
if key in instance["hv_instance"]: if key in instance["hv_instance"]:
val = instance["hv_instance"][key] val = instance["hv_instance"][key]
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment