[skip ci]fix golint for SetRootCoord (#13120)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
xige-16 2021-12-09 22:23:22 +08:00 committed by GitHub
parent 1a83064d5a
commit 60d70e82fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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