Skip to content

Commit

Permalink
Don't assume redis is installed (fixes #200)
Browse files Browse the repository at this point in the history
It triggers spurious error messages.
  • Loading branch information
alq666 authored and conorbranagan committed Sep 28, 2012
1 parent 6e96aba commit 5756513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/db/redisDb.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def check(self, agentConfig):
return False

# Allow the default redis database to be overridden.
urls = agentConfig.get('redis_urls', 'localhost:6379')
urls = agentConfig.get('redis_urls', '')
for url in [u.strip() for u in urls.split(',')]:
try:
self.logger.info("[REDIS] Checking instance: %s" % url)
Expand Down

0 comments on commit 5756513

Please sign in to comment.