mirror of https://github.com/milvus-io/milvus.git
Fix redundant init declaration in storage/util.go (#13381)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/13428/head
parent
322f0c5c5c
commit
89a26b2679
|
@ -70,7 +70,7 @@ func EstimateMemorySize(kv kv.DataKV, key string) (int64, error) {
|
|||
return total, fmt.Errorf("key %v not in binlog format", key)
|
||||
}
|
||||
|
||||
desc := &descriptorEvent{}
|
||||
var desc *descriptorEvent
|
||||
endPos = startPos + int(header.EventLength)
|
||||
descContent, err := kv.LoadPartial(key, int64(startPos), int64(endPos))
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue