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:
parent
1418559a04
commit
d9559c610d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue