未验证 提交 776a01b5 编写于 作者: E edward.zeng 提交者: GitHub

[skip ci] Add comment to embed etcd kv (#12003)

Signed-off-by: NEdward Zeng <jie.zeng@zilliz.com>
上级 e4a3a004
......@@ -77,6 +77,7 @@ func (kv *EmbedEtcdKV) GetPath(key string) string {
return path.Join(kv.rootPath, key)
}
// LoadWithPrefix returns all the keys and values with the given key prefix
func (kv *EmbedEtcdKV) LoadWithPrefix(key string) ([]string, []string, error) {
key = path.Join(kv.rootPath, key)
log.Debug("LoadWithPrefix ", zap.String("prefix", key))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册