[skip ci] Fix golint error in options.go (#9086)

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
pull/9087/head
zhenshan.cao 2021-10-02 20:03:56 +08:00 committed by GitHub
parent 429954153a
commit 395d44e55a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func Sleep(sleep time.Duration) Option {
}
}
// MaxSleep is used to config the max interval time of each execution.
// MaxSleepTime is used to config the max interval time of each execution.
func MaxSleepTime(maxSleepTime time.Duration) Option {
return func(c *config) {
// ensure max retry interval is always larger than retry interval