Fix static-check (#19707)

Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>

Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
This commit is contained in:
Enwei Jiao 2022-10-11 17:59:22 +08:00 committed by GitHub
parent 28e949cf31
commit 667982a239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1648,7 +1648,7 @@ func TestGetDataVChanPositions(t *testing.T) {
svr := newTestServer(t, nil)
defer closeTestServer(t, svr)
schema := newTestSchema()
svr.meta.AddCollection(&datapb.CollectionInfo{
svr.meta.AddCollection(&collectionInfo{
ID: 0,
Schema: schema,
StartPositions: []*commonpb.KeyDataPair{
@ -1658,7 +1658,7 @@ func TestGetDataVChanPositions(t *testing.T) {
},
},
})
svr.meta.AddCollection(&datapb.CollectionInfo{
svr.meta.AddCollection(&collectionInfo{
ID: 1,
Schema: schema,
StartPositions: []*commonpb.KeyDataPair{