mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[openstack|compute] Fix Compute Identity Endpoint Credential Export
This commit is contained in:
parent
a76c244eba
commit
cc44845bdb
1 changed files with 4 additions and 2 deletions
|
@ -192,6 +192,7 @@ module Fog
|
||||||
|
|
||||||
def initialize(options={})
|
def initialize(options={})
|
||||||
@openstack_auth_token = options[:openstack_auth_token]
|
@openstack_auth_token = options[:openstack_auth_token]
|
||||||
|
@openstack_identity_public_endpoint = options[:openstack_identity_endpoint]
|
||||||
|
|
||||||
unless @openstack_auth_token
|
unless @openstack_auth_token
|
||||||
missing_credentials = Array.new
|
missing_credentials = Array.new
|
||||||
|
@ -222,7 +223,8 @@ module Fog
|
||||||
{ :provider => 'openstack',
|
{ :provider => 'openstack',
|
||||||
:openstack_auth_url => @openstack_auth_uri.to_s,
|
:openstack_auth_url => @openstack_auth_uri.to_s,
|
||||||
:openstack_auth_token => @auth_token,
|
:openstack_auth_token => @auth_token,
|
||||||
:openstack_management_url => @openstack_management_url }
|
:openstack_management_url => @openstack_management_url,
|
||||||
|
:openstack_identity_endpoint => @openstack_identity_public_endpoint }
|
||||||
end
|
end
|
||||||
|
|
||||||
def reload
|
def reload
|
||||||
|
|
Loading…
Reference in a new issue