[skip e2e] Refine datacoord util comment (#13883)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/13895/head
edward.zeng 2021-12-21 19:07:15 +08:00 committed by GitHub
parent 73773a84ba
commit 8ede9c70b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ type LongTermChecker struct {
name string
}
// NewLongTermChecker create a long term checker specified name, checking interval and warning string to print
// NewLongTermChecker creates a long term checker specified name, checking interval and warning string to print
func NewLongTermChecker(ctx context.Context, name string, d time.Duration, warn string) *LongTermChecker {
c := &LongTermChecker{
name: name,
@ -105,12 +105,12 @@ func (c *LongTermChecker) Start() {
}()
}
// Check reset the time ticker
// Check resets the time ticker
func (c *LongTermChecker) Check() {
c.t.Reset(c.d)
}
// Stop stop the checker
// Stop stops the checker
func (c *LongTermChecker) Stop() {
c.t.Stop()
close(c.ch)