1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Fix OCCI server return code

This commit is contained in:
Daniel Molina 2011-11-16 18:37:10 +01:00
parent da823fa657
commit 7e3613aa6f

View File

@ -105,7 +105,7 @@ before do
end
if username.nil?
return [401, ""]
error 401, ""
else
client = settings.cloud_auth.client(username)
@occi_server = OCCIServer.new(client, settings.config)