mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]fix golint for SetRootCoord (#13120)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
1a83064d5a
commit
60d70e82fd
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user