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

Merge pull request #1820 from ceraslabs/publicUrl

Used publicURL as default endpoint type for OpenStack network
This commit is contained in:
Dan Prince 2013-07-15 06:04:59 -07:00
commit 271432fed2

View file

@ -176,7 +176,7 @@ module Fog
@openstack_must_reauthenticate = false @openstack_must_reauthenticate = false
@openstack_service_type = options[:openstack_service_type] || ['network'] @openstack_service_type = options[:openstack_service_type] || ['network']
@openstack_service_name = options[:openstack_service_name] @openstack_service_name = options[:openstack_service_name]
@openstack_endpoint_type = options[:openstack_endpoint_type] || 'adminURL' @openstack_endpoint_type = options[:openstack_endpoint_type] || 'publicURL'
@openstack_region = options[:openstack_region] @openstack_region = options[:openstack_region]
@connection_options = options[:connection_options] || {} @connection_options = options[:connection_options] || {}