From a43b9d20df8efcda1a6ae41c78dc6d8df9bb2942 Mon Sep 17 00:00:00 2001 From: Zhao Blake <49779012+zhaoblake@users.noreply.github.com> Date: Thu, 9 Nov 2023 16:02:32 +0800 Subject: [PATCH] Fix typo --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b587188..d6b1b6a 100644 --- a/main.go +++ b/main.go @@ -107,7 +107,7 @@ func GetAttemptsFromContext(r *http.Request) int { return 1 } -// GetAttemptsFromContext returns the attempts for request +// GetRetryFromContext returns the retries for request func GetRetryFromContext(r *http.Request) int { if retry, ok := r.Context().Value(Retry).(int); ok { return retry