Skip to content

Commit

Permalink
Merge pull request #10 from zhaoblake/master
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
kasvith authored Nov 10, 2023
2 parents 840cf2a + a43b9d2 commit 4e389cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e389cd

Please sign in to comment.