[skip ci]fix golint for SetDataCoord (#13121)

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

View File

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