mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[core] update connection to use new excon response_block format
This commit is contained in:
parent
48e5689ca9
commit
9c47651995
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module Fog
|
|||
unless block_given?
|
||||
if (parser = params.delete(:parser))
|
||||
body = Nokogiri::XML::SAX::PushParser.new(parser)
|
||||
block = lambda { |chunk, remaining, total| body << chunk }
|
||||
params[:response_block] = lambda { |chunk, remaining, total| body << chunk }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue