mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix Zone switch bug
This commit is contained in:
parent
8a2f3f3583
commit
bad1d80d41
@ -104,7 +104,7 @@ class CloudAuth
|
||||
|
||||
token = @server_auth.login_token(expiration_time,username)
|
||||
|
||||
if endpoint
|
||||
if endpoint and endpoint != "-"
|
||||
return OpenNebula::Client.new(token,endpoint)
|
||||
else
|
||||
return OpenNebula::Client.new(token,@conf[:one_xmlrpc])
|
||||
|
Loading…
x
Reference in New Issue
Block a user