1
0
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:
Tino Vazquez 2014-02-12 17:27:00 +01:00
parent 8a2f3f3583
commit bad1d80d41

View File

@ -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])