Add ListOptions for listing user migrations#2417
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2417 +/- ##
==========================================
- Coverage 98.06% 98.03% -0.03%
==========================================
Files 122 122
Lines 10687 10690 +3
==========================================
Hits 10480 10480
- Misses 142 144 +2
- Partials 65 66 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
@amitsaha - it looks like one of the examples needs to be updated. Please run |
Thanks. I did that before I pushed my branch: From the linting failures above I can see that there is an example needed to be updated, so I can see the failure when I run Not sure if I am doing something wrong? Updating with the fix. |
|
Thanks @gmlewis ! |
raynigon
left a comment
There was a problem hiding this comment.
Can be merged, but it would be nice if the error case test gets added first.
| u, err := addOptions(u, opts) | ||
| if err != nil { | ||
| return nil, nil, err | ||
| } |
There was a problem hiding this comment.
It would be nice if this case got tested.
There was a problem hiding this comment.
Ah, right... with the fixed URL, I'm not sure this can be tested, so let's leave it as-is. Thanks, @amitsaha .
c23f90d to
a518e88
Compare
|
@gmlewis Thanks! I know we had a new release just days back, is there any chance I can request you for a new release with this change? |
Yes, I think the worst thing that would happen is I might annoy some people, but that's OK. I've done it before and survived. 😂 |
Thanks a lot! |
|
https://github.com/google/go-github/releases/tag/v47.0.0 now contains this change. |
Fix for #2416