1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[openstack] Wrong instance variables accessed for #credentials

This commit is contained in:
Nelvin Driz 2012-03-04 16:17:14 +08:00
parent 9bfdf11dcf
commit a76c244eba
3 changed files with 6 additions and 6 deletions

View file

@ -221,8 +221,8 @@ module Fog
def credentials
{ :provider => 'openstack',
:openstack_auth_url => @openstack_auth_uri.to_s,
:openstack_auth_token => @openstack_auth_token,
:openstack_management_url => @management_url}
:openstack_auth_token => @auth_token,
:openstack_management_url => @openstack_management_url }
end
def reload

View file

@ -113,8 +113,8 @@ module Fog
def credentials
{ :provider => 'openstack',
:openstack_auth_url => @openstack_auth_uri.to_s,
:openstack_auth_token => @openstack_auth_token,
:openstack_management_url => @management_url}
:openstack_auth_token => @auth_token,
:openstack_management_url => @openstack_management_url }
end
def reload

View file

@ -91,8 +91,8 @@ module Fog
def credentials
{ :provider => 'openstack',
:openstack_auth_url => @openstack_auth_uri.to_s,
:openstack_auth_token => @openstack_auth_token,
:openstack_management_url => @management_url}
:openstack_auth_token => @auth_token,
:openstack_management_url => @openstack_management_url }
end
def reload