diff --git a/internal/querynode/collection_replica.go b/internal/querynode/collection_replica.go index 3c47f42a3f..9472efbc3b 100644 --- a/internal/querynode/collection_replica.go +++ b/internal/querynode/collection_replica.go @@ -579,7 +579,7 @@ func (colReplica *collectionReplica) getSegmentByID(segmentID UniqueID) (*Segmen func (colReplica *collectionReplica) getSegmentByIDPrivate(segmentID UniqueID) (*Segment, error) { segment, ok := colReplica.segments[segmentID] if !ok { - return nil, errors.New("cannot find segment in query node, id = " + strconv.FormatInt(segmentID, 10)) + return nil, errors.New("cannot find segment in QueryNode, id = " + strconv.FormatInt(segmentID, 10)) } return segment, nil