Skip to content

Commit

Permalink
Always pass the URL path to the oVirt SDK
Browse files Browse the repository at this point in the history
Currently the 'path' component of the URL is not always explicitly
passed to the constructor of the oVirt SDK connection, it is only passed
if explicitly provided by the caller. This patch changes the oVirt
provider so that the path is always passed, taking it from the endpoint
table if not explicitly provided by the caller.

Signed-off-by: Juan Hernandez <[email protected]>
  • Loading branch information
jhernand committed Mar 3, 2017
1 parent 7113841 commit 15c965f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def connect(options = {})
connect_options = {
:server => options[:ip] || address,
:port => options[:port] || self.port,
:path => path,
:username => options[:user] || authentication_userid(options[:auth_type]),
:password => options[:pass] || authentication_password(options[:auth_type]),
:service => options[:service] || "Service",
Expand Down

0 comments on commit 15c965f

Please sign in to comment.