Skip to content

Commit

Permalink
Merge pull request ganglia#190 from cburroughs/apache-status-whitespa…
Browse files Browse the repository at this point in the history
…ce-regression

fix apache_status.py whitespace regressing
  • Loading branch information
jbuchbinder committed Feb 18, 2015
2 parents e67ab83 + aaf5f76 commit bd0c15c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gmond/python_modules/apache_status/apache_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ def get_metrics():
if long_metric_name == "Scoreboard":
for sck in split_line[1]:
metrics[ Scoreboard_bykey[sck] ] += 1
else:
if long_metric_name in Metric_Map:
metric_name = Metric_Map[long_metric_name]
else:
if long_metric_name in Metric_Map:
metric_name = Metric_Map[long_metric_name]
else:
metric_name = long_metric_name
metric_name = long_metric_name
metrics[metric_name] = split_line[1]

except urllib2.URLError:
Expand Down

0 comments on commit bd0c15c

Please sign in to comment.