Error Reading Undefined Size Attribute on Disks
ericwang401 opened this issue · 1 comments
ericwang401 commented
Background
In Proxmox, disks can be mounted without any media attached, and this results in a disk without any "size" attribute. For example, you can mount an IDE CD/DVD drive without any media and that would have no size attribute.
By default, Convoy assumes every disk has a size attribute. This works for Convoy's official images, but can be problematic for users' custom images if they aren't aware of this bug.
Proposed fix
Give disks without the size attribute a default size of 0.
ericwang401 commented
Resolved in 9cb2cf0.
Will be pushed in v4 release.