Skip to content

Commit

Permalink
Deprecate DNS::AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Sep 17, 2018
1 parent f0f6126 commit 5a9f1af
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/fog/aws/dns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,17 @@ def signature(params)
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

0 comments on commit 5a9f1af

Please sign in to comment.