mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add a function comment for LoadWithPrefix2 (#12828)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com> Co-authored-by: yun.zhang <yun.zhang@zilliz.com>pull/12824/head
parent
86a5f5cdf8
commit
e4746e8c6e
|
@ -97,6 +97,7 @@ func (kv *EmbedEtcdKV) LoadWithPrefix(key string) ([]string, []string, error) {
|
|||
return keys, values, nil
|
||||
}
|
||||
|
||||
// LoadWithPrefix2 returns all the keys and values with versions by the given key prefix
|
||||
func (kv *EmbedEtcdKV) LoadWithPrefix2(key string) ([]string, []string, []int64, error) {
|
||||
key = path.Join(kv.rootPath, key)
|
||||
log.Debug("LoadWithPrefix ", zap.String("prefix", key))
|
||||
|
|
Loading…
Reference in New Issue