mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 11:29:48 +08:00
Remove useless codes in datacoord (#8619)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
d690ab2bff
commit
75767d58b3
@ -17,7 +17,6 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/milvus-io/milvus/internal/kv"
|
||||
"github.com/milvus-io/milvus/internal/types"
|
||||
"github.com/milvus-io/milvus/internal/util/metricsinfo"
|
||||
"github.com/milvus-io/milvus/internal/util/typeutil"
|
||||
|
||||
@ -115,10 +114,6 @@ func newMockDataNodeClient(id int64, ch chan interface{}) (*mockDataNodeClient,
|
||||
}, nil
|
||||
}
|
||||
|
||||
var mockDataNodeCreator DataNodeCreatorFunc = func(_ context.Context, addr string) (types.DataNode, error) {
|
||||
return newMockDataNodeClient(0, nil)
|
||||
}
|
||||
|
||||
func (c *mockDataNodeClient) Init() error {
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user