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

Avoid double slash when join url and path (#5503) #5517

Merged
merged 5 commits into from
Nov 9, 2017

Conversation

liketic
Copy link
Contributor

@liketic liketic commented Nov 6, 2017

Closes #5503

@elasticmachine
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link
Member

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

Could you add a test for addToURL that confirms that both options work? Could you also add an entry to the Changelog?

@@ -84,7 +84,7 @@ var (
errExpectedItemObject = errors.New("expected item response object")
errExpectedStatusCode = errors.New("expected item status code")
errUnexpectedEmptyObject = errors.New("empty object")
errExcpectedObjectEnd = errors.New("expected end of object")
errExpectedObjectEnd = errors.New("expected end of object")
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the cleanup

@liketic
Copy link
Contributor Author

liketic commented Nov 7, 2017

@ruflin Thanks. I pushed 734ad81

Copy link
Member

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

WFG

@ruflin
Copy link
Member

ruflin commented Nov 7, 2017

@liketic It seems you have to run make fmt on this PR. I pushed 2 additional commits to fix the merge conflict in the CHANGELOG as I hoped to directly merge. You need to pull these changes or just overwrite them if you push again.

@liketic
Copy link
Contributor Author

liketic commented Nov 8, 2017

@ruflin Thanks for your kind help. I think everything is OK now. 👍

@ruflin
Copy link
Member

ruflin commented Nov 8, 2017

jenkins, test it

@ruflin ruflin merged commit 67e05fc into elastic:master Nov 9, 2017
@liketic liketic deleted the enhancement/issues/5503 branch November 9, 2017 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants