> +
> + public AutoCreateDiskOptions(final AttachDisk.Type diskType,
> + final AttachDisk.Mode diskMode, final boolean
> isBootDisk,
> + final int diskSizeGb, final String diskName) {
> + this(diskType, diskMode, isBootDisk, diskSizeGb);
> + // TODO: Validate against regex according to GCE spec.
> What is the GCE spec?
> + this.diskName = diskName;
> + }
> +
> + public String getDiskName(final String nodeName) {
> + if (null != diskName)
> + return diskName;
> + else
> + return "jclouds-" +
> UUID.randomUUID().toString();
> + }
> + }
This class has been completely reformatted. Please, keep the formatting it had
(basically a 3 space indent, but have a look at the [jclouds code
style](https://cwiki.apache.org/confluence/display/JCLOUDS/Coding+Standards))
so the only changes in it are the lines relevant to your patch.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/790/files#r33426312