mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Bump version and update changelog.
This commit is contained in:
parent
ce81038ba0
commit
8e6739cbf8
2 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,7 @@ module Fog
|
|||
|
||||
# keystone based control services style authentication
|
||||
def self.authenticate_v2(options, connection_options = {})
|
||||
hp_auth_uri = options[:hp_auth_uri] || "https://region-a.geo-1.identity.hpcloudsvc.com:35357v2.0/tokens"
|
||||
hp_auth_uri = options[:hp_auth_uri] || "https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/tokens"
|
||||
# append /tokens if missing from auth uri
|
||||
@hp_auth_uri = hp_auth_uri.include?('tokens')? hp_auth_uri : hp_auth_uri + "tokens"
|
||||
endpoint = URI.parse(@hp_auth_uri)
|
||||
|
|
|
@ -141,6 +141,7 @@ module Fog
|
|||
require 'multi_json'
|
||||
@hp_secret_key = options[:hp_secret_key]
|
||||
@hp_account_id = options[:hp_account_id]
|
||||
@hp_auth_uri = options[:hp_auth_uri]
|
||||
@hp_cdn_ssl = options[:hp_cdn_ssl]
|
||||
@connection_options = options[:connection_options] || {}
|
||||
### Set an option to use the style of authentication desired; :v1 or :v2 (default)
|
||||
|
|
Loading…
Add table
Reference in a new issue