Skip to content

Commit

Permalink
Set 'https' as the default protocol when using oVirt SDK
Browse files Browse the repository at this point in the history
This patch changes the oVirt provider so that it uses 'https' by default
as the protocol when using the oVirt SDK to talk to the oVirt engine.

Signed-off-by: Juan Hernandez <[email protected]>
  • Loading branch information
jhernand committed Mar 3, 2017
1 parent 7113841 commit 536def0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def connect(options = {})

# Prepare the options to call the method that creates the actual connection:
connect_options = {
:scheme => options[:scheme] || 'https',
:server => options[:ip] || address,
:port => options[:port] || self.port,
:username => options[:user] || authentication_userid(options[:auth_type]),
Expand Down

0 comments on commit 536def0

Please sign in to comment.