From d9559c610d4c44f6125c0bd9285a02e589407ea2 Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Thu, 4 Dec 2014 13:31:27 -0500 Subject: [PATCH] Fix typo: Fog::Connection is deprecated, not Fog::XML::Connection. Commit 0e1daf3d did a mass rename and accidentally renamed the intended deprecated method. --- lib/fog/core/deprecated/connection.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/core/deprecated/connection.rb b/lib/fog/core/deprecated/connection.rb index 46400f2ba..9b72c526a 100644 --- a/lib/fog/core/deprecated/connection.rb +++ b/lib/fog/core/deprecated/connection.rb @@ -14,9 +14,9 @@ module Fog class Connection < Fog::XML::Connection def request(params, &block) if params.key?(:parser) - Fog::Logger.deprecation("Fog::XML::Connection is deprecated use Fog::XML::Connection instead [light_black](#{caller.first})[/]") + Fog::Logger.deprecation("Fog::Connection is deprecated use Fog::XML::Connection instead [light_black](#{caller.first})[/]") else - Fog::Logger.deprecation("Fog::XML::Connection is deprecated use Fog::Core::Connection instead [light_black](#{caller.first})[/]") + Fog::Logger.deprecation("Fog::Connection is deprecated use Fog::Core::Connection instead [light_black](#{caller.first})[/]") end super(params) end