Add Manager implemenation assertion (#9038)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2021-10-02 14:45:56 +08:00 committed by GitHub
parent 1d5062b63a
commit a5cd484ff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,6 +86,9 @@ type Allocation struct {
ExpireTime Timestamp
}
// make sure SegmentManager implements Manager
var _ Manager = (*SegmentManager)(nil)
// SegmentManager handles segment related logic
type SegmentManager struct {
meta *meta