> @@ -52,7 +53,10 @@ public boolean apply(VirtualGuestBlockDevice input) {
> .transform(new Function<VirtualGuestBlockDevice,
> Volume>() {
> @Override
> public Volume apply(VirtualGuestBlockDevice
> item) {
> - float volumeSize =
> item.getVirtualDiskImage().getCapacity();
> + float volumeSize = -1;
> + if (item.getVirtualDiskImage() != null) {
> + volumeSize =
> item.getVirtualDiskImage().getCapacity();
> + }
Would it make sense to return volumes with size -1?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/838/files#r36682081