Skip to content

Commit

Permalink
MB-6905: fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bcui6611 committed Oct 18, 2012
1 parent c57c630 commit abf3b49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collector.py
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit abf3b49

Please sign in to comment.