Skip to content

Commit

Permalink
remove unused es warning check
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Walter Knize <[email protected]>
  • Loading branch information
nknize committed Nov 2, 2022
1 parent 5ff8c1a commit 6d10f49
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1004,12 +1004,6 @@ private static void updateIndexSettings(String index, Settings settings) throws
}

protected static void expectSoftDeletesWarning(Request request, String indexName) {
final List<String> esExpectedWarnings = Collections.singletonList(
"Creating indices with soft-deletes disabled is deprecated and will be removed in future Elasticsearch versions. "
+ "Please do not specify value for setting [index.soft_deletes.enabled] of index ["
+ indexName
+ "]."
);
final List<String> opensearchExpectedWarnings = Collections.singletonList(
"Creating indices with soft-deletes disabled is deprecated and will be removed in future OpenSearch versions. "
+ "Please do not specify value for setting [index.soft_deletes.enabled] of index ["
Expand Down

0 comments on commit 6d10f49

Please sign in to comment.