From afef980ba879f644d394fd26eea07c90859ef223 Mon Sep 17 00:00:00 2001 From: Nikita Pomyashchiy Date: Fri, 20 Apr 2012 15:51:40 +0400 Subject: [PATCH] Allow for stringified options keys --- lib/fog/core/service.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fog/core/service.rb b/lib/fog/core/service.rb index 9196de2c1..472fe8f54 100644 --- a/lib/fog/core/service.rb +++ b/lib/fog/core/service.rb @@ -48,6 +48,7 @@ module Fog def new(options={}) # attempt to load credentials from config file + options = Fog.symbolize_credentials(options) begin default_credentials = Fog.credentials.reject {|key, value| !(recognized | requirements).include?(key)} options = default_credentials.merge(options)