summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/logging.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/util/logging.rb')
-rw-r--r--lib/puppet/util/logging.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/logging.rb b/lib/puppet/util/logging.rb
index 36eb43cd2..4e76ae414 100644
--- a/lib/puppet/util/logging.rb
+++ b/lib/puppet/util/logging.rb
@@ -18,7 +18,7 @@ module Puppet::Util::Logging
def deprecation_warning(message)
$deprecation_warnings ||= Hash.new(0)
if $deprecation_warnings.length < 100 and ($deprecation_warnings[message] += 1) == 1
- warn message
+ warning message
end
end