ak58588 commented on a change in pull request #23: disable AccessPolicy check
for SAS Authorised azureblob
URL: https://github.com/apache/jclouds/pull/23#discussion_r287668209
##########
File path:
providers/azureblob/src/main/java/org/jclouds/azureblob/blobstore/functions/BlobPropertiesToBlobMetadata.java
##########
@@ -58,8 +61,9 @@ public MutableBlobMetadata apply(BlobProperties from) {
PublicAccess containerAcl =
containerAcls.getUnchecked(from.getContainer());
if (containerAcl != PublicAccess.PRIVATE)
to.setPublicUri(from.getUrl());
- } catch (CacheLoader.InvalidCacheLoadException e) {
- // nulls not permitted from cache loader
+ } catch (Exception ex) {
+ InsufficientAccessRightsException iare =
Throwables2.getFirstThrowableOfType(ex,
InsufficientAccessRightsException.class);
+ if (iare == null) throw ex;
Review comment:
Done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services