[skip e2e] Add comment for NewMetaCache (#14477)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/14499/head
congqixia 2021-12-29 11:55:02 +08:00 committed by GitHub
parent d5c2b6bde9
commit 53784b5237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ func InitMetaCache(client types.RootCoord) error {
return nil return nil
} }
// NewMetaCache creates a MetaCache with provided RootCoord
func NewMetaCache(client types.RootCoord) (*MetaCache, error) { func NewMetaCache(client types.RootCoord) (*MetaCache, error) {
return &MetaCache{ return &MetaCache{
client: client, client: client,