Permalink
Browse files

MB-6905: fix a typo

  • Loading branch information...
1 parent c57c630 commit abf3b4924bd26480a9289436ec405acf083da7d3 @bcui6611 bcui6611 committed Oct 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 collector.py
View
@@ -190,7 +190,7 @@ def get_mc_stats_per_node(self, mc, stats):
dd, totals = self.process_histogram_data(node_stats)
else:
for key in stats.iterkeys():
- if key.find("timging_") >= 0:
+ if key.find("timing_") >= 0 or key.find("timging_") >= 0:
node_stats = stats[key]
dd, totals = self.process_histogram_data(node_stats)
break
@@ -200,7 +200,7 @@ def get_mc_stats_per_node(self, mc, stats):
for lbl,v in dd[k]:
ccount += v * lbl
stats[k] = ccount / totals[k]
- stats["timging_"] = node_stats
+ stats["timing_"] = node_stats
else:
for key, val in node_stats.items():
stats[key] = val

0 comments on commit abf3b49

Please sign in to comment.