Commit 768f0a80 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix iallocator instance info

The commit "IAllocator: some more info exported" broke the instance list
generation due to a wrong index variable. This patch fixes that.

Reviewed-by: ultrotter
parent 70f4497c
......@@ -4914,7 +4914,7 @@ class IAllocator(object):
"disks": [{"size": dsk.size, "mode": "w"} for dsk in iinfo.disks],
"disk_template": iinfo.disk_template,
instance_data[iname] = pir
instance_data[] = pir
data["instances"] = instance_data
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment