From 852f078d093032f094cd2359d44cb485c399a359 Mon Sep 17 00:00:00 2001 From: xige-16 Date: Mon, 20 Dec 2021 22:57:11 +0800 Subject: [PATCH] [skip e2e]Improve log for QueryNode spell (#13811) Signed-off-by: xige-16 --- internal/querynode/collection_replica.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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