jelmini commented on a change in pull request #500:
URL: https://github.com/apache/jackrabbit-oak/pull/500#discussion_r812873918
##########
File path:
oak-blob-cloud-azure/src/main/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/AzureBlobStoreBackend.java
##########
@@ -165,7 +165,8 @@ public void init() throws DataStoreException {
try {
Utils.setProxyIfNeeded(properties);
containerName = (String)
properties.get(AzureConstants.AZURE_BLOB_CONTAINER_NAME);
- createBlobContainer =
PropertiesUtil.toBoolean(properties.getProperty(AzureConstants.AZURE_CREATE_CONTAINER),
true);
+ createBlobContainer =
PropertiesUtil.toBoolean(properties.getProperty(AzureConstants.AZURE_CREATE_CONTAINER),
true)
+ &&
PropertiesUtil.toString(properties.getProperty(AzureConstants.AZURE_SAS),
"").isEmpty();
Review comment:
Good point. I will reject this PR. I will on the other hand recreate a
PR with only the test code, which is still useful.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]