Skip to content

Commit

Permalink
Revert change to deprecated Apache parse_agent_config method. #410
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahandrews committed May 8, 2013
1 parent ec72b1d commit 4f66480
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions checks.d/apache.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,5 @@ def parse_agent_config(agentConfig):
return False

return {
'instances': [{
'apache_status_url': agentConfig.get('apache_status_url'),
'apache_user': agentConfig.get('apache_user'),
'apache_password': agentConfig.get('apache_password')
}]
'instances': [{'apache_status_url': agentConfig.get('apache_status_url')}]
}

0 comments on commit 4f66480

Please sign in to comment.