mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 11:51:01 +00:00
Revert update of RedisModuleEvent_MasterLinkChange (#289)
ValkeyModuleEvent_MasterLinkChange was updated to use more inclusive language, but it was done in the compatibility layer as well (RedisModuleEvent_). --------- Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
This commit is contained in:
parent
5449089f9e
commit
fc3203557f
@ -712,7 +712,7 @@
|
||||
#define RedisModuleEvent_Shutdown ValkeyModuleEvent_Shutdown
|
||||
#define RedisModuleEvent_ReplicaChange ValkeyModuleEvent_ReplicaChange
|
||||
#define RedisModuleEvent_CronLoop ValkeyModuleEvent_CronLoop
|
||||
#define RedisModuleEvent_PrimaryLinkChange ValkeyModuleEvent_PrimaryLinkChange
|
||||
#define RedisModuleEvent_MasterLinkChange ValkeyModuleEvent_PrimaryLinkChange
|
||||
#define RedisModuleEvent_ModuleChange ValkeyModuleEvent_ModuleChange
|
||||
#define RedisModuleEvent_LoadingProgress ValkeyModuleEvent_LoadingProgress
|
||||
#define RedisModuleEvent_SwapDB ValkeyModuleEvent_SwapDB
|
||||
|
@ -422,7 +422,7 @@ int RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc)
|
||||
RedisModule_SubscribeToServerEvent(ctx,
|
||||
RedisModuleEvent_ReplicaChange, replicationChangeCallback);
|
||||
RedisModule_SubscribeToServerEvent(ctx,
|
||||
RedisModuleEvent_PrimaryLinkChange, rasterLinkChangeCallback);
|
||||
RedisModuleEvent_MasterLinkChange, rasterLinkChangeCallback);
|
||||
|
||||
/* persistence related hooks */
|
||||
RedisModule_SubscribeToServerEvent(ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user