diff options
Diffstat (limited to 'lib/puppet/util/logging.rb')
-rw-r--r-- | lib/puppet/util/logging.rb | 2 |
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 |