From 60d70e82fd19ccfecdb1a1289716eca057a87f3a Mon Sep 17 00:00:00 2001 From: xige-16 Date: Thu, 9 Dec 2021 22:23:22 +0800 Subject: [PATCH] [skip ci]fix golint for SetRootCoord (#13120) Signed-off-by: xige-16 --- internal/querycoord/query_coord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/querycoord/query_coord.go b/internal/querycoord/query_coord.go index c0995df4e7..67f70c57e9 100644 --- a/internal/querycoord/query_coord.go +++ b/internal/querycoord/query_coord.go @@ -270,7 +270,7 @@ func NewQueryCoord(ctx context.Context, factory msgstream.Factory) (*QueryCoord, // SetRootCoord sets root coordinator's client func (qc *QueryCoord) SetRootCoord(rootCoord types.RootCoord) error { if rootCoord == nil { - return errors.New("null root coordinator interface") + return errors.New("null RootCoord interface") } qc.rootCoordClient = rootCoord