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

Merge pull request #3314 from jrafanie/fog_connection_is_deprecated_not_fog_xml_connection

Fix typo: Fog::Connection is deprecated, not Fog::XML::Connection.
This commit is contained in:
Paul Thornthwaite 2014-12-04 21:01:18 +00:00
commit f1500ba000

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