summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-13 16:48:56 +0000
committerlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-13 16:48:56 +0000
commit130b2455572dae21def75ca2ac8e9f5a89672daf (patch)
treefaae1d0d8254e33283bd36641ec2df36a2631f02
parenta5f4f53266569c2b00383993670334a6ae9b7fd0 (diff)
downloadpuppet-130b2455572dae21def75ca2ac8e9f5a89672daf.tar.gz
puppet-130b2455572dae21def75ca2ac8e9f5a89672daf.tar.xz
puppet-130b2455572dae21def75ca2ac8e9f5a89672daf.zip
Use Pupet.warning instead of nonexistant 'warning'
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1580 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--lib/puppet/util/warnings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/warnings.rb b/lib/puppet/util/warnings.rb
index 1d84c2732..8e4591474 100644
--- a/lib/puppet/util/warnings.rb
+++ b/lib/puppet/util/warnings.rb
@@ -6,7 +6,7 @@ module Puppet::Util::Warnings
$stampwarnings ||= {}
$stampwarnings[self.class] ||= []
unless $stampwarnings[self.class].include? msg
- warning msg
+ Puppet.warning msg
$stampwarnings[self.class] << msg
end
end