Upgrade github.com/cenkalti/backoff module

We now use v4 of the module. `backoff.WithMaxRetries` no longer repeats
an operation endlessly when a retry count of 0 is specified. This
required a few fixes for the tests.
This commit is contained in:
Michael Eischer 2020-09-19 21:02:52 +02:00
parent 0ae02f3030
commit b79f18209f
4 changed files with 9 additions and 20 deletions

View file

@ -6,7 +6,7 @@ import (
"io"
"time"
"github.com/cenkalti/backoff"
"github.com/cenkalti/backoff/v4"
"github.com/restic/restic/internal/debug"
"github.com/restic/restic/internal/restic"
)