jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-aws] JCLOUDS-457: Add getBlob operation (#45)
Date Sat, 02 Aug 2014 00:53:53 GMT
> @@ -119,9 +125,34 @@ public BlobMetadata blobMetadata(String container, String key) {
>        throw new UnsupportedOperationException();
>     }
>  
> +   private ArchiveRetrievalJobRequest buildArchiveRetrievalRequest(String key, GetOptions
getOptions) {
> +      ArchiveRetrievalJobRequest.Builder requestBuilder = ArchiveRetrievalJobRequest.builder().archiveId(key);
> +      if (getOptions != null) {
> +         checkArgument(getOptions.getRanges().size() <= 1);

Add some kind of error message here?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/45/files#r15725699
Mime
View raw message