Skip to content
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

Consider export withContextDialer and deprecate WithDialer #2627

Closed
skipor opened this issue Feb 8, 2019 · 0 comments · Fixed by #2629
Closed

Consider export withContextDialer and deprecate WithDialer #2627

skipor opened this issue Feb 8, 2019 · 0 comments · Fixed by #2629
Assignees
Labels
Type: Feature New features or improvements in behavior

Comments

@skipor
Copy link

skipor commented Feb 8, 2019

There is no way to get access to context.Context custom dialer for now.
Internally, withContextDialer everywhere, that's unfair to external users.
Related to #1786

@menghanl menghanl self-assigned this Feb 15, 2019
@menghanl menghanl added the Type: Feature New features or improvements in behavior label Feb 21, 2019
menghanl added a commit that referenced this issue Feb 25, 2019
tac0turtle added a commit to tendermint/tendermint that referenced this issue Jul 23, 2019
- cleanup to add linter
- grpc change:
	- https://godoc.org/google.golang.org/grpc#WithContextDialer
	- https://godoc.org/google.golang.org/grpc#WithDialer
	- grpc/grpc-go#2627
- prometheous change:
	- due to UninstrumentedHandler, being deprecated in the future
- empty branch = empty if or else statement
	- didn't delete them entirely but commented
	- couldn't find a reason to have them
- could not replicate the issue #3406
	- but if want to keep it commented then we should comment out the if statement as well

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
melekes pushed a commit to tendermint/tendermint that referenced this issue Jul 25, 2019
cleanup to add linter

    grpc change:
        https://godoc.org/google.golang.org/grpc#WithContextDialer
        https://godoc.org/google.golang.org/grpc#WithDialer
        grpc/grpc-go#2627
    prometheous change:
        due to UninstrumentedHandler, being deprecated in the future
    empty branch = empty if or else statement
        didn't delete them entirely but commented
        couldn't find a reason to have them
    could not replicate the issue #3406
        but if want to keep it commented then we should comment out the if statement as well
jackzampolin pushed a commit to tendermint/tendermint that referenced this issue Aug 1, 2019
cleanup to add linter

    grpc change:
        https://godoc.org/google.golang.org/grpc#WithContextDialer
        https://godoc.org/google.golang.org/grpc#WithDialer
        grpc/grpc-go#2627
    prometheous change:
        due to UninstrumentedHandler, being deprecated in the future
    empty branch = empty if or else statement
        didn't delete them entirely but commented
        couldn't find a reason to have them
    could not replicate the issue #3406
        but if want to keep it commented then we should comment out the if statement as well
@lock lock bot locked as resolved and limited conversation to collaborators Aug 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New features or improvements in behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants