jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-492 (#318)
Date Tue, 18 Mar 2014 17:37:00 GMT
> @@ -130,6 +135,22 @@ public RegisterImageBackedByEbsOptions addNewBlockDevice(String deviceName,
>        return this;
>     }
>  
> +    /**
> +     *
> +     * sets the ROOT device name to the specified name.
> +     *
> +     * @param name
> +     *           The device name (e.g., /dev/sdh).
> +     *
> +     */
> +    public RegisterImageBackedByEbsOptions setRootDeviceName(String deviceName) {
> +        formParameters.removeAll("BlockDeviceMapping.0.DeviceName");
> +        formParameters.removeAll("RootDeviceName");

Agree with @nacx's comment above - we don't really want setters removing items.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/318/files#r10715428
Mime
View raw message