Skip to content

Commit a5bb8d9

Browse files
authored
Fix typo (zalando#965)
1 parent 62bde6f commit a5bb8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/retryutil/retry_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (t *Ticker) Tick() { <-t.ticker.C }
2727
func Retry(interval time.Duration, timeout time.Duration, f func() (bool, error)) error {
2828
//TODO: make the retry exponential
2929
if timeout < interval {
30-
return fmt.Errorf("timout(%s) should be greater than interval(%v)", timeout, interval)
30+
return fmt.Errorf("timeout(%s) should be greater than interval(%v)", timeout, interval)
3131
}
3232
tick := &Ticker{time.NewTicker(interval)}
3333
return RetryWorker(interval, timeout, tick, f)

0 commit comments

Comments
 (0)