>  
>     /**
>      * Provides access to Image features.
>      */
>     @Delegate
> -   ImageApi getImageApiForZone(@EndpointParam(parser = 
> ZoneToEndpointNegotiateVersion.class) @Nullable String zone);
> +   ImageApi getImageApi(@EndpointParam(parser = 
> RegionToEndpointNegotiateVersion.class) @Nullable String region);

@zack-shoylev The pattern of passing the `@EndpointParam` parser is the same 
throughout the OpenStack APIs. Passing null ends up throwing an 
`IllegalArgumentException` in the `*ToEndpoint` related functions in the 
[location 
package](https://github.com/jclouds/jclouds/tree/master/core/src/main/java/org/jclouds/location/functions).

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

Reply via email to