Merge branch 'patch-1' of https://github.com/pandujar/elasticsearch into pandujar-patch-1
This commit is contained in:
commit
8289ce827d
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue