mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
Fix compilation for latest ES versions
This fixes a change that recently landed in 1.x and master that prevents the plugin from being compiled.
This commit is contained in:
parent
6b3e57e430
commit
8742d477c4
@ -43,6 +43,6 @@ public class SmbMmapFsDirectoryService extends FsDirectoryService {
|
|||||||
@Override
|
@Override
|
||||||
protected Directory newFSDirectory(Path location, LockFactory lockFactory) throws IOException {
|
protected Directory newFSDirectory(Path location, LockFactory lockFactory) throws IOException {
|
||||||
logger.debug("wrapping MMapDirectory for SMB");
|
logger.debug("wrapping MMapDirectory for SMB");
|
||||||
return new SmbDirectoryWrapper(new MMapDirectory(location, buildLockFactory()));
|
return new SmbDirectoryWrapper(new MMapDirectory(location, buildLockFactory(indexSettings)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user