> +
> +@ConfiguresHttpApi
> +@ConfiguresHttpCommandExecutorService
> +public class EtcdHttpApiModule extends HttpApiModule<EtcdApi> {
> +
> +     @Override
> +     protected void bindErrorHandlers() {
> +             
> bind(HttpErrorHandler.class).annotatedWith(Redirection.class).to(EtcdErrorHandler.class);
> +             
> bind(HttpErrorHandler.class).annotatedWith(ClientError.class).to(EtcdErrorHandler.class);
> +             
> bind(HttpErrorHandler.class).annotatedWith(ServerError.class).to(EtcdErrorHandler.class);
> +     }
> +     
> +     protected void configure() {
> +             super.configure();
> +             install(new OkHttpCommandExecutorServiceModule());
> +     }

Remove this. We don't want to force users to a concrete HTTP driver unless 
strictly required.

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

Reply via email to