mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-26 06:50:09 +03:00
Fix hostname not set for OCCI resources
(cherry picked from commit 40a89671f62b17c34787fefa2dc457f153565de3)
This commit is contained in:
parent
1486d045d8
commit
abb0e915eb
@ -58,7 +58,7 @@ class OCCIServer < CloudServer
|
||||
if config[:ssl_server]
|
||||
@base_url=config[:ssl_server]
|
||||
else
|
||||
@base_url="http://#{config[:server]}:#{config[:port]}"
|
||||
@base_url="http://#{config[:host]}:#{config[:port]}"
|
||||
end
|
||||
|
||||
@client = client
|
||||
|
Loading…
x
Reference in New Issue
Block a user