Hi,

Code changed a few days ago and this code does not work any more (GCE)

DiskApi diskApi = gce.disksInZone(ZONE);
URI diskType = new URI(baseZoneUri + "diskTypes/pd-" + volume.getType());
diskApi.create(ATTACH_DISK_NAME, new
DiskCreationOptions().sizeGb(Math.round(volume.getSize())).type(diskType));

DiskCreationOptions is now abstract and cannot be instantiated. There is a
new class

final class AutoValue_DiskCreationOptions extends DiskCreationOptions {

which is not public and cannot be used. I can't find this code in github to
suggest a patch.

Any ideas how to use now DiskCreationOptions ?

Regards,
Ruben

Reply via email to