[skip ci] Fix golint error in mem_kv (#13020)

Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
pull/13038/head
jaime 2021-12-09 10:49:25 +08:00 committed by GitHub
parent 5dd15793b9
commit 7691876fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ func (kv *MemoryKV) RemoveWithPrefix(key string) error {
return nil return nil
} }
// item already in memory, just slice the value. // LoadPartial item already in memory, just slice the value.
func (kv *MemoryKV) LoadPartial(key string, start, end int64) ([]byte, error) { func (kv *MemoryKV) LoadPartial(key string, start, end int64) ([]byte, error) {
value, err := kv.Load(key) value, err := kv.Load(key)
if err != nil { if err != nil {