summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-11-27 16:10:34 +0100
committerantirez <antirez@gmail.com>2015-11-27 16:10:34 +0100
commit4f7d1e46cf267a1900d2abd8cf5df8f95f7f63d6 (patch)
tree066504b0caeec105c35a658ae7ce411b45e2a8f5
parent3626699f1fd39b97f68858f9ca2d0bf0999aae53 (diff)
downloadredis-4f7d1e46cf267a1900d2abd8cf5df8f95f7f63d6.tar.gz
Fix renamed define after merge.
-rw-r--r--src/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c
index c8e1b9f76..edc030249 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -2624,7 +2624,7 @@ void clusterLogCantFailover(int reason) {
(mstime() - myself->slaveof->fail_time) < nolog_fail_time) return;
switch(reason) {
- case CLUSTER_CANT_FAILOVER_DATA_AGE:
+ case REDIS_CLUSTER_CANT_FAILOVER_DATA_AGE:
msg = "Disconnected from master for longer than allowed. "
"Please check the 'cluster-slave-validity-factor' configuration "
"option.";