> @@ -47,6 +49,14 @@ public CreateImageOptions id(String id) {
>        return this;
>     }
>  
> +   /**
> +    * @param url the url of the image to be copied into openstack
> +    */
> +   public UpdateImageOptions copyFrom(String url) {
> +      headers.put(COPY_FROM.asGlanceHeader(), url);

I would define this in `CreateImageOptions` as
```
public static final String COPY_FROM = "x-glance-api-copy-from";
```
which changes this line to
```
headers.put(COPY_FROM, url);
```

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/152/files#r18611732

Reply via email to