Closed agx closed 8 years ago
I'm not aware of this code so i can't confirm it is working.
Can you confirm this fixes the problem and that no other issues arise?
Thanks
In fact it should unbreak uploading volumes and I'm not aware of any issues it can cause (we can revert should that happen), it's quiet isolated.
Ok. 👍
Currently volume uploads end up empty since ruby-libvirt returns the value passed in from the block
Since this is zero libvirtd assumes the upload is finished before it even started.
We can work around this by returning the string length. This will continue to work with fixed ruby-libvirt since errors are indicated with negative values.