From a866fc5c6fef4771a50d7a5aa2fad9b420fb09c4 Mon Sep 17 00:00:00 2001 From: xige-16 Date: Tue, 5 Oct 2021 15:36:17 +0800 Subject: [PATCH] [skip ci] Add comment for Init (#9267) Signed-off-by: xige-16 --- internal/querycoord/query_coord.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querycoord/query_coord.go b/internal/querycoord/query_coord.go index 5e8a0c8e8c..97843e8e00 100644 --- a/internal/querycoord/query_coord.go +++ b/internal/querycoord/query_coord.go @@ -85,6 +85,7 @@ func (qc *QueryCoord) Register() error { return nil } +// Init function initializes the queryCoord's meta, cluster, etcdKV and task scheduler func (qc *QueryCoord) Init() error { connectEtcdFn := func() error { etcdKV, err := etcdkv.NewEtcdKV(Params.EtcdEndpoints, Params.MetaRootPath)