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

Removed unnecessary https protocol from hostname URI #97

Merged
merged 1 commit into from
Oct 31, 2017

Conversation

lucashsilva
Copy link
Contributor

@lucashsilva lucashsilva commented Oct 30, 2017

This pr removes unecessary https protocol (prefix) from hostname URI in discover method sice it's no longer needed.

@miq-bot
Copy link
Member

miq-bot commented Oct 30, 2017

Checked commit lucashsilva@b93bc78 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@@ -98,7 +98,7 @@ def discover(ip_address, port)
if XClarityClient::Discover.responds?(ip_address, port)
new_ems = create!(
:name => "Discovered Provider ##{count + 1}",
:hostname => URI('https://' + ip_address),
:hostname => URI(ip_address),
Copy link
Member

Choose a reason for hiding this comment

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

LGTM

@walteraa
Copy link
Member

@miq-bot assign @juliancheal

@juliancheal juliancheal added this to the Sprint 73 Ending Nov 13, 2017 milestone Oct 31, 2017
@juliancheal juliancheal merged commit 5504ff3 into ManageIQ:master Oct 31, 2017
@AndreyMenezes AndreyMenezes requested review from juliancheal, AndreyMenezes and agrare and removed request for agrare and juliancheal October 31, 2017 19:11
@lucashsilva lucashsilva changed the title Removed unecessary https protocol from hostname URI Removed unnecessary https protocol from hostname URI Oct 31, 2017
simaishi pushed a commit that referenced this pull request Nov 6, 2017
Removed unecessary https protocol from hostname URI
(cherry picked from commit 5504ff3)
@simaishi
Copy link
Contributor

simaishi commented Nov 6, 2017

Gaprindashvili backport details:

$ git log -1
commit dd0f20d8bcff6504a54fcf26e02cca5061656e6a
Author: Julian Cheal <[email protected]>
Date:   Tue Oct 31 17:48:52 2017 +0000

    Merge pull request #97 from lucashsilva/remove_https
    
    Removed unecessary https protocol from hostname URI
    (cherry picked from commit 5504ff3215c160f25a3cbc0460a451bf42d8c335)

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.

5 participants