Permalink
Browse files

Use the report alias for the output handler.

  • Loading branch information...
1 parent 4c434b3 commit 8743de4e4ab3a77e286e81e9ad5803aadfd4d734 @jellybob jellybob committed Jul 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/critical/metric_base.rb
@@ -327,9 +327,9 @@ def collect(reporting_handler, trending_handler = nil)
assert_collection_block_or_command_exists!
@output_handler.collected_at = Time.new
@output_handler.metric = self
- @output_handler.collection_started
+ report.collection_started
run_processing_block
- @output_handler.collection_completed
+ report.collection_completed
end
# Returns the result of running the collection command or code

0 comments on commit 8743de4

Please sign in to comment.