Browse Source

Fix Azure Plugin Compilation Issue

Armin 6 years ago
parent
commit
a3cec0d580

+ 1 - 1
plugins/repository-azure/src/main/java/org/elasticsearch/repositories/azure/AzureBlobStore.java

@@ -106,7 +106,7 @@ public class AzureBlobStore implements BlobStore {
 
 
     public Map<String, BlobContainer> children(BlobPath path) throws URISyntaxException, StorageException {
     public Map<String, BlobContainer> children(BlobPath path) throws URISyntaxException, StorageException {
         return Collections.unmodifiableMap(service.children(clientName, container, path).stream().collect(
         return Collections.unmodifiableMap(service.children(clientName, container, path).stream().collect(
-            Collectors.toMap(Function.identity(), name -> new AzureBlobContainer(path.add(name), this))));
+            Collectors.toMap(Function.identity(), name -> new AzureBlobContainer(path.add(name), this, threadPool))));
     }
     }
 
 
     public void writeBlob(String blobName, InputStream inputStream, long blobSize, boolean failIfAlreadyExists)
     public void writeBlob(String blobName, InputStream inputStream, long blobSize, boolean failIfAlreadyExists)