lib/fog/storm_on_demand/shared.rb in fog-1.19.0 vs lib/fog/storm_on_demand/shared.rb in fog-1.20.0
- old
+ new
@@ -27,10 +27,9 @@
response = @connection.request(params.merge!({
:headers => {
'Content-Type' => 'application/json',
'Authorization' => 'Basic ' << Base64.encode64("#{@storm_on_demand_username}:#{@storm_on_demand_password}").chomp
}.merge!(params[:headers] || {}),
- :host => @host,
:path => "#{@path}/#{API_VERSION}#{params[:path]}",
:expects => 200,
:method => :post
}))
rescue Excon::Errors::HTTPStatusError => error