-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add DialOpts and CallOpts to API client. #6301
Conversation
@Joerger Hey you forgot to pass |
0e22598
to
e5ea3a0
Compare
@marshall-lee Fixed, thanks. |
e5ea3a0
to
6d58503
Compare
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.
Bot.
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.
Bot.
6d28a86
to
99c8782
Compare
Add callOpts to client and client.WithCallOptions.
99c8782
to
cb7d8c1
Compare
3482baa
to
809e6c6
Compare
* Add DialOpts to client.Config. * Add callOpts to client and client.WithCallOptions. * Refactor use of atomic closedFlag.
Changes:
client.Config.DialOpts
.client.callOpts
which can be used throughWithCallOptions
. I chose this route for a few reasons:CallOptions
parameter to each requests break theauth.ClientI
interface, which makes it more work than it's worth.Fixes #6276