Skip to content

Commit

Permalink
Fix comment for retry.BeginWithOptions (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghemawat authored Oct 10, 2023
1 parent 6e3b4fa commit fd98289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/retry/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func Begin() *Retry {
// BackoffMultiplier: 2.0,
// BackoffMinDuration: time.Second,
// }
// for r := retry.Begin(); r.Continue(ctx); {
// for r := retry.BeginWithOptions(opts); r.Continue(ctx); {
// // Do nothing.
// }
func BeginWithOptions(options Options) *Retry {
Expand Down

0 comments on commit fd98289

Please sign in to comment.