[skip ci]Fix golint error for SetRootCoord in QueryCoord (#10806)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-10-28 19:47:20 +08:00 committed by GitHub
parent bb3d55ca4d
commit 4d98dc59e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,6 +238,7 @@ func (s *Server) Stop() error {
return err
}
// SetRootCoord sets the RootCoord's client for QueryCoord component.
func (s *Server) SetRootCoord(m types.RootCoord) error {
s.queryCoord.SetRootCoord(m)
return nil