mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[skip ci]fix golint for SetDataCoord (#13121)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
60d70e82fd
commit
63ead50544
@ -280,7 +280,7 @@ func (qc *QueryCoord) SetRootCoord(rootCoord types.RootCoord) error {
|
||||
// SetDataCoord sets data coordinator's client
|
||||
func (qc *QueryCoord) SetDataCoord(dataCoord types.DataCoord) error {
|
||||
if dataCoord == nil {
|
||||
return errors.New("null data coordinator interface")
|
||||
return errors.New("null DataCoord interface")
|
||||
}
|
||||
|
||||
qc.dataCoordClient = dataCoord
|
||||
|
Loading…
Reference in New Issue
Block a user