Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass the size when fetching image in xenapi driver
In commit 6e287c0 the fetch_to_raw method was changed to accept the volume size so it can fail when the image doesn't fit in the destination volume. In this commit we also updated all the volume drivers to pass the volume size to that method so it could perform the check. The xenapi driver missed that change. This commit updates the xenapi driver to pass the volume size when fetching the image to enable the introduced check. Change-Id: I89bc4b3b1c1e6b06f5c529166cf9ffa1fe600c96 Related-Bug: #1235358 (cherry picked from commit c4db75a)
- Loading branch information