From 4d98dc59e7878a28fa430e2820d3358c510cd76a Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Thu, 28 Oct 2021 19:47:20 +0800 Subject: [PATCH] [skip ci]Fix golint error for SetRootCoord in QueryCoord (#10806) Signed-off-by: cai.zhang --- internal/distributed/querycoord/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/querycoord/service.go b/internal/distributed/querycoord/service.go index d56538d8d3..08279df534 100644 --- a/internal/distributed/querycoord/service.go +++ b/internal/distributed/querycoord/service.go @@ -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