mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix static-check (#9776)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
parent
31c3942ca7
commit
a63ef91c74
@ -195,10 +195,9 @@ func TestEstimateMemorySize(t *testing.T) {
|
||||
assert.Nil(t, err)
|
||||
|
||||
buf := bytes.NewBuffer(blob.Value)
|
||||
desc := &descriptorEvent{}
|
||||
|
||||
_, _ = readMagicNumber(buf)
|
||||
desc, _ = ReadDescriptorEvent(buf)
|
||||
desc, _ := ReadDescriptorEvent(buf)
|
||||
|
||||
size, err = EstimateMemorySize(memoryKV, blob.Key)
|
||||
assert.Nil(t, err)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user