Skip to content

Commit

Permalink
fixing log message
Browse files Browse the repository at this point in the history
  • Loading branch information
pmpailis committed Jul 29, 2024
1 parent effb879 commit 1700df5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2208,7 +2208,7 @@ public ActionRequestValidationException validate(
if (retriever() != null) {
if (allowPartialSearchResults && retriever().isCompound()) {
validationException = addValidationError(
"cannot specify a compound retriever and [allow_search_partial_results]",
"cannot specify a compound retriever and [allow_partial_search_results]",
validationException
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public boolean isCompound() {
assertNotNull(validationErrors);
assertEquals(1, validationErrors.validationErrors().size());
assertEquals(
"cannot specify a compound retriever and [allow_search_partial_results]",
"cannot specify a compound retriever and [allow_partial_search_results]",
validationErrors.validationErrors().get(0)
);
}
Expand Down

0 comments on commit 1700df5

Please sign in to comment.