From f16c80c79739bb033d7212bbd44a77ea64f57cdf Mon Sep 17 00:00:00 2001 From: Rupak Ganguly Date: Fri, 21 Oct 2011 15:51:40 -0400 Subject: [PATCH] Assign hp_auth_uri to an instance var. so that CDN can use it. --- lib/fog/hp/storage.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/fog/hp/storage.rb b/lib/fog/hp/storage.rb index 9914c7200..e77160bc7 100644 --- a/lib/fog/hp/storage.rb +++ b/lib/fog/hp/storage.rb @@ -135,7 +135,8 @@ module Fog require 'multi_json' @hp_secret_key = options[:hp_secret_key] @hp_account_id = options[:hp_account_id] - @hp_cdn_ssl = options[:hp_cdn_ssl] + @hp_auth_uri = options[:hp_auth_uri] + @hp_cdn_ssl = options[:hp_cdn_ssl] @connection_options = options[:connection_options] || {} credentials = Fog::HP.authenticate(options, @connection_options) @auth_token = credentials['X-Auth-Token']