Fix typo: Fog::Connection is deprecated, not Fog::XML::Connection.

Commit 0e1daf3d did a mass rename and accidentally renamed the intended deprecated method.
This commit is contained in:
Joe Rafaniello 2014-12-04 13:31:27 -05:00
parent 1418559a04
commit d9559c610d
1 changed files with 2 additions and 2 deletions

View File

@ -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