-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move RateLimits method to a service #2969
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2969 +/- ##
==========================================
- Coverage 98.13% 98.11% -0.02%
==========================================
Files 148 149 +1
Lines 12787 12790 +3
==========================================
+ Hits 12548 12549 +1
- Misses 164 166 +2
Partials 75 75
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @nhAnik !
Anywhere you find client.RateLimits
(such as test/integration/misc_test.go
), it needs to be updated to call the new service instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM except for the lint failure. You can fix that by calling your new method instead of client.RateLimits
edit: looks like @gmlewis beat me to it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @nhAnik and @WillAbides !
LGTM.
Merging.
Closes #2968