Merge branch 'patch-1' of https://github.com/pandujar/elasticsearch into pandujar-patch-1

This commit is contained in:
David Pilato 2015-09-18 16:22:28 +02:00
commit 8289ce827d
1 changed files with 2 additions and 2 deletions

View File

@ -57,14 +57,14 @@ public class AzureStorageServiceImpl extends AbstractLifecycleComponent<AzureSto
// We try to load storage API settings from `cloud.azure.`
account = settings.get(ACCOUNT);
key = settings.get(KEY);
blob = "http://" + account + ".blob.core.windows.net/";
blob = "https://" + account + ".blob.core.windows.net/";
try {
if (account != null) {
logger.trace("creating new Azure storage client using account [{}], key [{}], blob [{}]", account, key, blob);
String storageConnectionString =
"DefaultEndpointsProtocol=http;"
"DefaultEndpointsProtocol=https;"
+ "AccountName="+ account +";"
+ "AccountKey=" + key;