Change in vdsm[master]: image: use successor volume size when merging

fsimonce at redhat.com fsimonce at redhat.com
Thu Jul 18 17:42:35 UTC 2013


Federico Simoncelli has uploaded a new change for review.

Change subject: image: use successor volume size when merging
......................................................................

image: use successor volume size when merging

Change-Id: Ic0bfd2ffa080bf89709ae543043b52aad27eb759
Signed-off-by: Federico Simoncelli <fsimonce at redhat.com>
---
M vdsm/storage/image.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/93/17093/1

diff --git a/vdsm/storage/image.py b/vdsm/storage/image.py
index a5edc97..299e6f5 100644
--- a/vdsm/storage/image.py
+++ b/vdsm/storage/image.py
@@ -1000,7 +1000,7 @@
             # destination volume's parent parameters
             newUUID = srcVol.volUUID + "_MERGE"
             sdDom.createVolume(
-                imgUUID=srcVolParams['imgUUID'], size=volParams['size'],
+                imgUUID=srcVolParams['imgUUID'], size=srcVolParams['size'],
                 volFormat=volParams['volFormat'],
                 preallocate=volParams['prealloc'],
                 diskType=volParams['disktype'], volUUID=newUUID,


-- 
To view, visit http://gerrit.ovirt.org/17093
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic0bfd2ffa080bf89709ae543043b52aad27eb759
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>


More information about the vdsm-patches mailing list