mirror of https://github.com/milvus-io/milvus.git
[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
parent
5dd15793b9
commit
7691876fff
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue