Commit a7761c12 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

cmdlib: Fix mistake made in commit 75c7520f

Commit 75c7520f

 used the wrong constant. I double-checked all other
changes made in the commit.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 75c7520f
......@@ -7224,7 +7224,7 @@ def _ComputeDiskSizePerVG(disk_template, disks):
vgs = {}
for disk in disks:
vgs[disk[constants.IDISK_VG]] = \
vgs.get(constants.IDISK_VG, 0) + disk[constants.IDISK_MODE] + payload
vgs.get(constants.IDISK_VG, 0) + disk[constants.IDISK_SIZE] + payload
return vgs
......
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