Removed the unused named return parameter of BackoffConfig
's backoff
method.
This commit is contained in:
@ -58,7 +58,7 @@ func setDefaults(bc *BackoffConfig) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (bc BackoffConfig) backoff(retries int) (t time.Duration) {
|
func (bc BackoffConfig) backoff(retries int) time.Duration {
|
||||||
if retries == 0 {
|
if retries == 0 {
|
||||||
return bc.baseDelay
|
return bc.baseDelay
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user