mirror of https://github.com/milvus-io/milvus.git
[skip ci]fix golint for SetDataCoord (#13121)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/13128/head
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