[skip ci] Add comment for Init (#9267)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/9271/head
xige-16 2021-10-05 15:36:17 +08:00 committed by GitHub
parent 2ef2ba4c81
commit a866fc5c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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