Skip to content

Commit

Permalink
Fix test failure after lucene upgrade to 10
Browse files Browse the repository at this point in the history
Signed-off-by: zane-neo <[email protected]>
  • Loading branch information
zane-neo committed Jan 23, 2025
1 parent 06a2b40 commit 7067941
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void redeployAModel() {

private void triggerAutoDeployModels(List<String> addedNodes) {
ActionListener<SearchResponse> listener = ActionListener.wrap(res -> {
if (res != null && res.getHits() != null && res.getHits().getTotalHits() != null && res.getHits().getTotalHits().value > 0) {
if (res != null && res.getHits() != null && res.getHits().getTotalHits() != null && res.getHits().getTotalHits().value() > 0) {
Arrays
.stream(res.getHits().getHits())
.filter(
Expand Down

0 comments on commit 7067941

Please sign in to comment.