From 711dad2eae7490f63a1e42d9983a8f157ef33235 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Wed, 13 Oct 2021 19:36:33 +0800 Subject: [PATCH] [skip ci]Fix golint for SetRootCoord in distributed/querynode/service.go (#9814) Signed-off-by: cai.zhang --- internal/distributed/querynode/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/querynode/service.go b/internal/distributed/querynode/service.go index 75edb9b2e4..4f232f0b59 100644 --- a/internal/distributed/querynode/service.go +++ b/internal/distributed/querynode/service.go @@ -259,6 +259,7 @@ func (s *Server) Stop() error { return nil } +// SetRootCoord sets the RootCoord's client for QueryNode component. func (s *Server) SetRootCoord(rootCoord types.RootCoord) error { return s.querynode.SetRootCoord(rootCoord) }