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:
parent
1418559a04
commit
d9559c610d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue