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…
Reference in New Issue