Removed the unused named return parameter of BackoffConfig's backoff method.

This commit is contained in:
Keiji Yoshida
2016-10-11 03:42:29 +09:00
parent 2131fedea9
commit 7f3c1cacae

View File

@ -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 {
return bc.baseDelay
}