mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Sentinel: fixed a crash on script execution.
The call to sentinelScheduleScriptExecution() lacked the final NULL argument to signal the end of arguments. This resulted into a crash.
This commit is contained in:
parent
724371d748
commit
01477753e6
@ -789,7 +789,7 @@ void sentinelCallClientReconfScript(sentinelRedisInstance *master, int role, cha
|
||||
sentinelScheduleScriptExecution(master->client_reconfig_script,
|
||||
master->name,
|
||||
(role == SENTINEL_LEADER) ? "leader" : "observer",
|
||||
state, from->ip, fromport, to->ip, toport);
|
||||
state, from->ip, fromport, to->ip, toport, NULL);
|
||||
}
|
||||
|
||||
/* ========================== sentinelRedisInstance ========================= */
|
||||
|
Loading…
x
Reference in New Issue
Block a user