Permalink
Browse files

one last log message

  • Loading branch information...
1 parent 7254cb0 commit 72627cde2a0b858fd9a8938d498a2369fd1756cf @truthtrap truthtrap committed Jul 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 reslave.py
View
@@ -60,6 +60,7 @@ def log(message, logging='info'):
if 'master_link_status' in info:
log('determine if our master is up', 'info')
if info['master_link_status'] == "up":
+ log('master is up: touch the slave', 'info')
os.system('/bin/touch /var/run/redis/slave')
except Exception as e:

0 comments on commit 72627cd

Please sign in to comment.