diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-06-30 20:43:29 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-06-30 20:43:29 +0000 |
| commit | 70143d217fcf3cd2bfbcfd0e5c9c38292716de2b (patch) | |
| tree | 65bdecdf674c7c9d88065125d34d55592c9d5337 /lib/puppet/reports | |
| parent | 795ec70fc1ae678178e4a7cf16ea8fa76a122ea6 (diff) | |
| download | puppet-70143d217fcf3cd2bfbcfd0e5c9c38292716de2b.tar.gz puppet-70143d217fcf3cd2bfbcfd0e5c9c38292716de2b.tar.xz puppet-70143d217fcf3cd2bfbcfd0e5c9c38292716de2b.zip | |
Trying to merge metrics and reports. There is now a separate transaction report class, and it works throughout the previously existing system. I will next go through trying to make a metric report that graphs the metrics in rrd.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1347 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/reports')
| -rw-r--r-- | lib/puppet/reports/tagmail.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/reports/tagmail.rb b/lib/puppet/reports/tagmail.rb index e356b8ba8..16096f62f 100644 --- a/lib/puppet/reports/tagmail.rb +++ b/lib/puppet/reports/tagmail.rb @@ -36,9 +36,9 @@ Puppet::Server::Report.newreport(:tagmail) do |report| tags.each do |tag, emails| messages = nil if tag == "all" - messages = report + messages = report.logs else - messages = report.find_all do |log| + messages = report.logs.find_all do |log| log.tagged?(tag) end end |
