From fd98289ba6a85eca2c5a473732aa437dc6064660 Mon Sep 17 00:00:00 2001 From: Sanjay Ghemawat Date: Tue, 10 Oct 2023 11:01:24 -0700 Subject: [PATCH] Fix comment for retry.BeginWithOptions (#655) --- runtime/retry/retry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/retry/retry.go b/runtime/retry/retry.go index 41a77fcff..dcfa368d6 100644 --- a/runtime/retry/retry.go +++ b/runtime/retry/retry.go @@ -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 {