Fix querynode panic (#23181)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/23192/head
yihao.dai 2023-04-03 14:18:24 +08:00 committed by GitHub
parent afd874b736
commit 9cecdc4f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ func retrieveOnSegments(ctx context.Context, manager *Manager, segType SegmentTy
var retrieveResults []*segcorepb.RetrieveResults
for _, segID := range segIDs {
segment := manager.Segment.Get(segID).(*LocalSegment)
segment, _ := manager.Segment.Get(segID).(*LocalSegment)
if segment == nil {
continue
}