Add support for AzureBlobStore.getBlobAccess and RegionScopedSwiftBlobStore.getBlobAccess.

They are currently throwing UnsupportedOperationException exception.
This commit is contained in:
Rita Zhang 2016-01-05 08:50:40 -08:00
parent 91b202f4ea
commit a12ce5a8b7
2 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ public class RegionScopedSwiftBlobStore implements BlobStore {
@Override
public BlobAccess getBlobAccess(String container, String name) {
throw new UnsupportedOperationException("unsupported in swift");
return BlobAccess.PRIVATE;
}
@Override

View File

@ -368,7 +368,7 @@ public class AzureBlobStore extends BaseBlobStore {
@Override
public BlobAccess getBlobAccess(String container, String key) {
throw new UnsupportedOperationException("unsupported in Azure");
return BlobAccess.PRIVATE;
}
@Override