diff --git a/apps/emqx_cluster_link/src/emqx_cluster_link.erl b/apps/emqx_cluster_link/src/emqx_cluster_link.erl index 2b469b114..a567fb6cc 100644 --- a/apps/emqx_cluster_link/src/emqx_cluster_link.erl +++ b/apps/emqx_cluster_link/src/emqx_cluster_link.erl @@ -215,7 +215,7 @@ get_actor_state(ClusterName, Actor) -> erlang:get(?PD_EXTROUTER_ACTOR_STATE). set_actor_state(ClusterName, Actor, ActorSt) -> - undefined = erlang:put(?PD_EXTROUTER_ACTOR, {ClusterName, Actor}), + _Undefined = erlang:put(?PD_EXTROUTER_ACTOR, {ClusterName, Actor}), update_actor_state(ActorSt). update_actor_state(ActorSt) ->