Fixed non-persistent connections handling to AWS

This commit is contained in:
Alexander Kolesen 2012-06-19 23:15:34 +03:00
parent c2ed3c886d
commit a9acf510bd
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ module Fog
@hmac = Fog::HMAC.new('sha1', @aws_secret_access_key)
@host = options[:host] || 'route53.amazonaws.com'
@path = options[:path] || '/'
@persistent = options[:persistent] || true
@persistent = options[:persistent].nil? || options[:persistent]
@port = options[:port] || 443
@scheme = options[:scheme] || 'https'
@version = options[:version] || '2012-02-29'