[skip ci]Fix allocator typo error (#10275)

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
This commit is contained in:
godchen 2021-10-20 15:48:38 +08:00 committed by GitHub
parent 983bd1d473
commit 42a85f6d9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ func (t *Ticker) Init() {
t.ticker = time.NewTicker(t.UpdateInterval)
}
// Reset rests the inner member `ticker`.
// Reset resets the inner member `ticker`.
func (t *Ticker) Reset() {
t.ticker.Reset(t.UpdateInterval)
}