Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis-monitor crashes when the "password" key isn't set in config #55

Closed
kisabaka opened this issue Jul 12, 2013 · 0 comments
Closed

redis-monitor crashes when the "password" key isn't set in config #55

kisabaka opened this issue Jul 12, 2013 · 0 comments

Comments

@kisabaka
Copy link
Contributor

When a server doesn't need a password but the config for it doesn't have "password" : "some-password", redis-monitor will crash with a KeyError:

Traceback (most recent call last):
  File "./redis-monitor.py", line 300, in <module>
    monitor.run(duration)
  File "./redis-monitor.py", line 252, in run
    if redis_server["password"]:
KeyError: 'password'
@nkrode nkrode closed this as completed in e4c6ec0 Jul 14, 2013
nkrode added a commit that referenced this issue Jul 14, 2013
Fix JSON syntax errors in default config, close config file after loading and fix issue #55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant