-
Notifications
You must be signed in to change notification settings - Fork 4.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
fix(api) parsing service url default to 443 for https #3358
Conversation
@Tieske Travis failures are related: Also, no need to do |
I also agree that |
cad6215
to
5ec123d
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.
LGTM, though now that @hishamhm mentioned about unneccessary lower
, I was thinking. is that tonumber
unneccessary as well?
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.
For now, it seems like there still is a related failure in Travis CI
@@ -97,6 +97,31 @@ for _, strategy in helpers.each_strategy() do | |||
assert.equals(60000, json.read_timeout) | |||
end | |||
end) | |||
|
|||
it_content_types("creates a service with url (https based)", function(content_type) |
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.
Isn't the proper name for this test: 'port' defaults to 443 when 'url' scheme is https
?
The `url` convenience property was parsed, but defaulted to port 80, even for 'https' schemes. Updated to 443. fixes #3357
description updated, test fixed, and 'tonumber' left alone since it is required. |
the reported error in test suite is fixed
The
url
convenience property was parsed, but defaultedto port 80, even for 'https' schemes. Updated to 443.
fixes #3357