Skip to content

Commit b92b514

Browse files
author
Sandeep Kumawat
committed
Fix checks
Signed-off-by: Sandeep Kumawat <skumwt@amazon.com>
1 parent 326bfe7 commit b92b514

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

server/src/main/java/org/opensearch/env/NodeEnvironment.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,6 +1291,11 @@ public static List<Path> collectFileCacheDataPath(NodePath fileCacheNodePath, Se
12911291
return indexSubPaths;
12921292
}
12931293

1294+
@Deprecated(forRemoval = true)
1295+
public static List<Path> collectFileCacheDataPath(NodePath fileCacheNodePath) throws IOException {
1296+
return collectFileCacheDataPath(fileCacheNodePath, Settings.EMPTY);
1297+
}
1298+
12941299
private static void processDirectory(Path directoryPath, List<Path> indexSubPaths) throws IOException {
12951300
if (Files.isDirectory(directoryPath)) {
12961301
try (DirectoryStream<Path> indexStream = Files.newDirectoryStream(directoryPath)) {

0 commit comments

Comments
 (0)