mirror of
https://github.com/rclone/rclone.git
synced 2025-12-27 21:53:27 +00:00
vendor: update all dependencies
This commit is contained in:
3
vendor/cloud.google.com/go/internal/retry.go
generated
vendored
3
vendor/cloud.google.com/go/internal/retry.go
generated
vendored
@@ -27,7 +27,8 @@ import (
|
||||
// backoff parameters. It returns when one of the following occurs:
|
||||
// When f's first return value is true, Retry immediately returns with f's second
|
||||
// return value.
|
||||
// When the provided context is done, Retry returns with ctx.Err().
|
||||
// When the provided context is done, Retry returns with an error that
|
||||
// includes both ctx.Error() and the last error returned by f.
|
||||
func Retry(ctx context.Context, bo gax.Backoff, f func() (stop bool, err error)) error {
|
||||
return retry(ctx, bo, f, gax.Sleep)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user