Skip to content

Commit

Permalink
Use the report alias for the output handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
jellybob committed Jul 24, 2011
1 parent 4c434b3 commit 8743de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/critical/metric_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8743de4

Please sign in to comment.