From 855fcc63ef9c4f15902a8c475eca48c984328e3f Mon Sep 17 00:00:00 2001 From: Mevan Samaratunga Date: Mon, 5 Jan 2015 22:58:23 -0500 Subject: [PATCH] Fix [excon][WARNING] Invalid Excon request keys: :host exception. --- lib/fog/bare_metal_cloud/compute.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/bare_metal_cloud/compute.rb b/lib/fog/bare_metal_cloud/compute.rb index 327478450..f39136da9 100644 --- a/lib/fog/bare_metal_cloud/compute.rb +++ b/lib/fog/bare_metal_cloud/compute.rb @@ -75,7 +75,7 @@ module Fog end begin - response = @connection.request(params.merge!({:host => @host})) + response = @connection.request(params) rescue Excon::Errors::HTTPStatusError => error raise case error when Excon::Errors::NotFound