Skip to content

Commit fd98289

Browse files
authored
Fix comment for retry.BeginWithOptions (#655)
1 parent 6e3b4fa commit fd98289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/retry/retry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func Begin() *Retry {
7070
// BackoffMultiplier: 2.0,
7171
// BackoffMinDuration: time.Second,
7272
// }
73-
// for r := retry.Begin(); r.Continue(ctx); {
73+
// for r := retry.BeginWithOptions(opts); r.Continue(ctx); {
7474
// // Do nothing.
7575
// }
7676
func BeginWithOptions(options Options) *Retry {

0 commit comments

Comments
 (0)