mirror of https://github.com/milvus-io/milvus.git
Add Datacoord Server implementation Assertion (#9143)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/9150/head
parent
f8928fe76b
commit
e20445987e
|
@ -76,6 +76,9 @@ type DataNodeCreatorFunc func(ctx context.Context, addr string) (types.DataNode,
|
|||
// RootCoordCreatorFunc creator function for rootcoord
|
||||
type RootCoordCreatorFunc func(ctx context.Context, metaRootPath string, etcdEndpoints []string) (types.RootCoord, error)
|
||||
|
||||
// makes sure Server implements `DataCoord`
|
||||
var _ types.DataCoord = (*Server)(nil)
|
||||
|
||||
// Server implements `types.Datacoord`
|
||||
// handles Data Cooridinator related jobs
|
||||
type Server struct {
|
||||
|
|
Loading…
Reference in New Issue