Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CD-ROM backing ISO library item size check (#832)
This PR uses `apimachinery.resource.Quantity`'s `IsZero()` function to correctly check if the CD-ROM's backing ISO library library item is empty. The originally used `Size ()` function returns the number of bytes required to marshal the value to protobuf (i.e. the statement would always be false as that function returns 3 for zero-size quantity).
- Loading branch information