jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 skeleton and bucket ops (#270)
Date Wed, 25 May 2016 03:32:06 GMT
> +               @Override
> +               public Authorization apply(Credentials creds) {
> +                  return b2Api.getAuthorizationApi().authorizeAccount();
> +               }
> +            }));
> +   }
> +
> +   @Override
> +   public HttpRequest filter(HttpRequest request) throws HttpException {
> +      utils.logRequest(signatureLog, request, ">>");
> +      Credentials creds = this.creds.get();
> +      Authorization auth = cache.getUnchecked(creds);
> +
> +      // Replace fixed URL with API URL, except for unit tests tests
> +      URI endpoint = request.getEndpoint();
> +      if (!endpoint.getHost().equals("localhost")) {

Re-reading this, I agree with you and will remove it.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/270/files/8bb355e1b286b2bbf77fd8d3cb75cd2d1aa6bc69#r64510699
Mime
View raw message