From a67add4486bb55e1afc42a26bb44b9b1b8b401f4 Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Wed, 4 Sep 2024 20:54:45 -0700 Subject: [PATCH] fix compilation from extra ctors on 2.x line Signed-off-by: Marc Handalian --- server/src/main/java/org/opensearch/index/IndexService.java | 3 ++- .../src/main/java/org/opensearch/indices/IndicesService.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/opensearch/index/IndexService.java b/server/src/main/java/org/opensearch/index/IndexService.java index c5df0110a4f18..6e67c8f83ee4c 100644 --- a/server/src/main/java/org/opensearch/index/IndexService.java +++ b/server/src/main/java/org/opensearch/index/IndexService.java @@ -395,7 +395,8 @@ public IndexService( recoverySettings, remoteStoreSettings, fileCache, - null + null, + (s) -> {} ); } diff --git a/server/src/main/java/org/opensearch/indices/IndicesService.java b/server/src/main/java/org/opensearch/indices/IndicesService.java index 80f73d5c6d42c..1981e5c08d7c3 100644 --- a/server/src/main/java/org/opensearch/indices/IndicesService.java +++ b/server/src/main/java/org/opensearch/indices/IndicesService.java @@ -570,7 +570,8 @@ public IndicesService( cacheService, remoteStoreSettings, fileCache, - null + null, + (s) -> {} ); }