Add Manager implemenation assertion (#9038)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/9077/head
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
1 changed files with 3 additions and 0 deletions

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