We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is natural behaviour or URI library. See following example:
URI("https://[FE80::C800:EFF:FE74:8]").host # => "[FE80::C800:EFF:FE74:8]" URI("https://[FE80::C800:EFF:FE74:8]").hostname # => "FE80::C800:EFF:FE74:8"
First example does not return valid IPv6 address so it OneviewSDK::Rest can't work properly. https://github.com/HewlettPackard/ilo-sdk-ruby/blob/master/lib/ilo-sdk/rest.rb#L36
See Scenario/Intent
Scenario/Intent
Replace .host with .hostname (at the moment I can see only one occurrence): https://github.com/HewlettPackard/ilo-sdk-ruby/blob/master/lib/ilo-sdk/rest.rb#L36
.host
.hostname
None. FQDNs and IPv4 URIs should be handled same way:
URI("https://oneview.local").hostname # => "oneview.local" URI("https://oneview.local").host # => "oneview.local" URI("https://1.2.3.4").hostname # => "1.2.3.4" URI("https://1.2.3.4").host # => "1.2.3.4"
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
No branches or pull requests
Scenario/Intent
This is natural behaviour or URI library. See following example:
First example does not return valid IPv6 address so it OneviewSDK::Rest can't work properly.
https://github.com/HewlettPackard/ilo-sdk-ruby/blob/master/lib/ilo-sdk/rest.rb#L36
Steps to Reproduce
See
Scenario/Intent
Fix?
Replace
.host
with.hostname
(at the moment I can see only one occurrence):https://github.com/HewlettPackard/ilo-sdk-ruby/blob/master/lib/ilo-sdk/rest.rb#L36
Potential impact
None. FQDNs and IPv4 URIs should be handled same way:
The text was updated successfully, but these errors were encountered: