From 2b805ce119a705c713778a4ca34819918b7584f5 Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 21 Jun 2014 11:39:43 +0200 Subject: [PATCH] Allow to call ROLE in LOADING state. --- src/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index 1183f7bf..18be0ed3 100644 --- a/src/redis.c +++ b/src/redis.c @@ -240,7 +240,7 @@ struct redisCommand redisCommandTable[] = { {"pttl",pttlCommand,2,"r",0,NULL,1,1,1,0,0}, {"persist",persistCommand,2,"w",0,NULL,1,1,1,0,0}, {"slaveof",slaveofCommand,3,"ast",0,NULL,0,0,0,0,0}, - {"role",roleCommand,1,"ast",0,NULL,0,0,0,0,0}, + {"role",roleCommand,1,"last",0,NULL,0,0,0,0,0}, {"debug",debugCommand,-2,"as",0,NULL,0,0,0,0,0}, {"config",configCommand,-2,"art",0,NULL,0,0,0,0,0}, {"subscribe",subscribeCommand,-2,"rpslt",0,NULL,0,0,0,0,0}, -- GitLab