Browse files

[ryan] fixing bug where stat meta data was inccorrect

  • Loading branch information...
1 parent e68dd41 commit 0b62239caea083b192fbad29f0267a6ec2954d40 @ryanmcgarvey ryanmcgarvey committed Jan 17, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Gemfile.lock
  2. +1 −1 lib/active_metric/behavior/graph_calculation.rb
View
2 Gemfile.lock
@@ -10,7 +10,7 @@ GIT
PATH
remote: .
specs:
- active_metric (1.4.1)
+ active_metric (1.5.1)
bson_ext (= 1.4.0)
mongo (= 1.4.0)
rails (~> 3.1)
View
2 lib/active_metric/behavior/graph_calculation.rb
@@ -41,7 +41,7 @@ def time(sample_time)
end
def stat_meta_data
- summary.stat_meta_data
+ self.class.sample_type.new.stat_meta_data
end
def start_time

0 comments on commit 0b62239

Please sign in to comment.