[skip ci] Refine comments in mem kv (#12006)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/12017/head
edward.zeng 2021-11-17 19:27:27 +08:00 committed by GitHub
parent bcb7cce026
commit 2b566eb622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ func (kv *MemoryKV) LoadRange(key, endKey string, limit int) ([]string, []string
return keys, values, nil
}
// Save object with @key to Minio. Object value is @value.
// Save object with @key to btree. Object value is @value.
func (kv *MemoryKV) Save(key, value string) error {
kv.Lock()
defer kv.Unlock()
@ -96,7 +96,7 @@ func (kv *MemoryKV) Save(key, value string) error {
return nil
}
// Remove delete an object with @key.
// Remove deletes an object with @key.
func (kv *MemoryKV) Remove(key string) error {
kv.Lock()
defer kv.Unlock()