Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[openstack] Wrong instance variables accessed for #credentials

  • Loading branch information...
commit a76c244ebad4f19b42000b433548a69ecfd167d5 1 parent 9bfdf11
@Keoven Keoven authored
View
4 lib/fog/openstack/compute.rb
@@ -221,8 +221,8 @@ def initialize(options={})
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
4 lib/fog/openstack/identity.rb
@@ -113,8 +113,8 @@ def initialize(options={})
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
4 lib/fog/openstack/image.rb
@@ -91,8 +91,8 @@ def initialize(options={})
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
Please sign in to comment.
Something went wrong with that request. Please try again.