[skip e2e] Add implementation assertion for channelsTimeTicker (#14952)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/14968/head
Jiquan Long 2022-01-06 23:24:16 +08:00 committed by GitHub
parent c79cbd341a
commit 691e4d954d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ type channelsTimeTicker interface {
getMinTick() Timestamp
}
// make sure channelsTimeTickerImpl implements channelsTimeTicker.
var _ channelsTimeTicker = (*channelsTimeTickerImpl)(nil)
// channelsTimeTickerImpl implements channelsTimeTicker.
type channelsTimeTickerImpl struct {
interval time.Duration // interval to synchronize