From b93bc7809bf8c3d772515bf9f5169ed9d0dbb690 Mon Sep 17 00:00:00 2001 From: Lucas Silva Date: Mon, 30 Oct 2017 13:57:38 -0300 Subject: [PATCH] Removed unecessary https protocol from hostname URI --- app/models/manageiq/providers/lenovo/manager_mixin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/manageiq/providers/lenovo/manager_mixin.rb b/app/models/manageiq/providers/lenovo/manager_mixin.rb index 37ea0bdaaa..67add43477 100644 --- a/app/models/manageiq/providers/lenovo/manager_mixin.rb +++ b/app/models/manageiq/providers/lenovo/manager_mixin.rb @@ -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), :zone => Zone.default_zone, :port => port )