From 4f7d1e46cf267a1900d2abd8cf5df8f95f7f63d6 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 27 Nov 2015 16:10:34 +0100 Subject: Fix renamed define after merge. --- src/cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."; -- cgit v1.2.1