Skip to content

Conversation

@abmusse
Copy link
Member

@abmusse abmusse commented Apr 21, 2020

Fixes #247

@abmusse abmusse requested a review from kadler April 21, 2020 20:42
Copy link
Member

@kadler kadler left a comment

Choose a reason for hiding this comment

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

LGTM other than the password check using the same error message as the url check.

@abmusse abmusse requested a review from kadler April 22, 2020 14:48
@kadler kadler merged commit 34e4e37 into master Apr 22, 2020
@kadler kadler deleted the fix-http-transport-url branch April 22, 2020 17:21
// construct the url host:port/path
options.transportOptions.url = `http://${option.host}:${option.port || 80}${option.path || '/'}`;
}
options.transportOptions = { ...options.transportOptions, ...option };
Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like this change is the cause of unit test failure. We should still append user passed options to the transportOptions like we did before.

Copy link
Member

Choose a reason for hiding this comment

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

Oops. I should have caught that.

@abmusse abmusse mentioned this pull request Apr 30, 2020
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.

HTTP Transport should take a URL

3 participants