mirror of https://github.com/milvus-io/milvus.git
Fix push failed because git hook detects "wrong error"
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>pull/4973/head^2
parent
d64aa37db3
commit
e54d5ccf19
|
@ -291,9 +291,9 @@ func (ss *searchService) search(msg msgstream.TsMsg) error {
|
|||
|
||||
inReduced := make([]bool, len(searchResults))
|
||||
numSegment := int64(len(searchResults))
|
||||
err = reduceSearchResults(searchResults, numSegment, inReduced)
|
||||
if err != nil {
|
||||
return err
|
||||
err2 := reduceSearchResults(searchResults, numSegment, inReduced)
|
||||
if err2 != nil {
|
||||
return err2
|
||||
}
|
||||
err = fillTargetEntry(plan, searchResults, matchedSegments, inReduced)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue