1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

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

View file

@ -14,9 +14,9 @@ module Fog
class Connection < Fog::XML::Connection class Connection < Fog::XML::Connection
def request(params, &block) def request(params, &block)
if params.key?(:parser) 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 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 end
super(params) super(params)
end end