mirror of https://github.com/milvus-io/milvus.git
Add ClusterStore implementation assertion (#9037)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/9048/head
parent
a9a4b89b0e
commit
2044e5eacb
|
@ -112,6 +112,9 @@ func (n *NodeInfo) Dispose() {
|
|||
}
|
||||
}
|
||||
|
||||
// make sure NodesInfo implements ClusterStore
|
||||
var _ ClusterStore = (*NodesInfo)(nil)
|
||||
|
||||
// NodesInfo wraps a map UniqueID -> NodeInfo
|
||||
// implements ClusterStore interface
|
||||
// not lock related field is required so all operations shall be protected outside
|
||||
|
|
Loading…
Reference in New Issue