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

Remove redundant statements in profilesvc example #721

Merged
merged 1 commit into from
Jun 19, 2018

Conversation

sudo-suhas
Copy link
Contributor

In the profilesvc example, both the request method and URL path are set in each specific encoder. This is not required for the request method as that is specified correctly in the call to httptransport.NewClient. This PR removes the redundant statements.

@sudo-suhas
Copy link
Contributor Author

sudo-suhas commented Jun 16, 2018

CI failures are not related to changes made here, see #720.

@peterbourgon
Copy link
Member

Can you rebase on master?

@sudo-suhas
Copy link
Contributor Author

Done.

Copy link
Member

@basvanbeek basvanbeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

In the profilesvc example, both the request method and URL path are set
in each specific encoder. This is not required for the request method as
that is specified correctly in the call to `httptransport.NewClient`.
@sudo-suhas
Copy link
Contributor Author

Amended the commit message as it was not getting formatted correctly:

image

@peterbourgon peterbourgon merged commit d5a7c56 into go-kit:master Jun 19, 2018
@sudo-suhas sudo-suhas deleted the example-correction branch June 20, 2018 03:07
jamesgist pushed a commit to jamesgist/kit that referenced this pull request Nov 1, 2024
In the profilesvc example, both the request method and URL path are set
in each specific encoder. This is not required for the request method as
that is specified correctly in the call to `httptransport.NewClient`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants