>  
>  public abstract class BaseProfitBricksRequestBinder<T> implements MapBinder {
>  
> +   protected final String endpointPath = "/rest/v2";

Thanks for your help, but I solved it in a different way, because I still kept 
getting further errors with the last injector snippet.
`protected final String endpoint = new 
ProfitBricksProviderMetadata().getEndpoint();`
and changed a little bit the request builder part
```R request = (R) fromRequest.toBuilder().endpoint(endpointPath).build();
      request = (R) 
request.toBuilder().replacePath(request.getEndpoint().getPath() + 
String.format("images/%s", imageId)).build();```

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

Reply via email to