From b9b80e0866c9974d2939b997cbb400ecfbb39d6a Mon Sep 17 00:00:00 2001 From: Oliver Mannion <125105+tekumara@users.noreply.github.com> Date: Mon, 10 Feb 2025 07:50:42 +1100 Subject: [PATCH] attempts --- retry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retry.go b/retry.go index 59d2fdf60..7f92cde9c 100644 --- a/retry.go +++ b/retry.go @@ -353,9 +353,9 @@ func (r *retryHTTP) execute() (res *http.Response, err error) { return nil, err } if res != nil { - return nil, fmt.Errorf("timeout after %s and %v retries. HTTP Status: %v. Hanging?", r.timeout, retryCounter, res.StatusCode) + return nil, fmt.Errorf("timeout after %s and %v attempts. HTTP Status: %v. Hanging?", r.timeout, retryCounter, res.StatusCode) } - return nil, fmt.Errorf("timeout after %s and %v retries. Hanging?", r.timeout, retryCounter) + return nil, fmt.Errorf("timeout after %s and %v attempts. Hanging?", r.timeout, retryCounter) } } if requestGUIDReplacer == nil {