Skip to content

Commit

Permalink
Correct header in rate limit test
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonHoffman committed Jan 21, 2021
1 parent bd34c3c commit 0f0aaad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ratelimit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestRatelimitGlobal(t *testing.T) {

headers.Set("X-RateLimit-Global", "1")
// Reset for approx 1 seconds from now
headers.Set("Retry-After", "1000")
headers.Set("X-RateLimit-Reset-After", "1")

err := bucket.Release(headers)
if err != nil {
Expand Down

0 comments on commit 0f0aaad

Please sign in to comment.