From 5a9f1afa8a76d61338edcec1de565073727078cd Mon Sep 17 00:00:00 2001 From: sue445 Date: Fri, 14 Sep 2018 23:10:36 +0900 Subject: [PATCH] Deprecate DNS::AWS --- lib/fog/aws/dns.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/fog/aws/dns.rb b/lib/fog/aws/dns.rb index aa1a41730..8749e5c8d 100644 --- a/lib/fog/aws/dns.rb +++ b/lib/fog/aws/dns.rb @@ -162,4 +162,17 @@ module Fog end end end + + # @deprecated + module DNS + # @deprecated + class AWS < Fog::AWS::DNS + # @deprecated + # @overrides Fog::Service.new (from the fog-core gem) + def self.new(*) + Fog::Logger.deprecation 'Fog::DNS::AWS is deprecated, please use Fog::AWS::DNS.' + super + end + end + end end