mirror of https://github.com/milvus-io/milvus.git
[skip ci] Fix golint error in options.go (#9086)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>pull/9087/head
parent
429954153a
commit
395d44e55a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue