Skip to content

Commit

Permalink
fix oobe
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Dec 12, 2023
1 parent 2e53dec commit 095c702
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ protected <Request extends ActionRequest, Response extends ActionResponse> void

if ((searchRequest.pointInTimeBuilder() != null
&& searchRequest.pointInTimeBuilder().getEncodedId().equals("the_pit_id_essential-deleted-index"))
|| searchRequest.indices()[0].equals("essential-deleted-index")) {
|| (searchRequest.indices().length > 0 && searchRequest.indices()[0].equals("essential-deleted-index"))) {
listener.onFailure(new IndexNotFoundException("essential-deleted-index"));
return;
}
Expand Down

0 comments on commit 095c702

Please sign in to comment.