summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb
index 6d74e4ef3..483d94d76 100644
--- a/lib/puppet/type.rb
+++ b/lib/puppet/type.rb
@@ -598,6 +598,7 @@ class Type < Puppet::Element
}.flatten
Puppet::Metric.addevents(self.class,self,events)
+ return events
end
#---------------------------------------------------------------