Explorar el Código

Fix unused variable

zhouzb hace 6 años
padre
commit
decdce2ae2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/emqx_sys_mon.erl

+ 1 - 1
src/emqx_sys_mon.erl

@@ -166,7 +166,7 @@ code_change(_OldVsn, State, _Extra) ->
 
 handle_partition_event({partition, {occurred, Node}}) ->
     alarm_handler:set_alarm({partitioned, Node});
-handle_partition_event({partition, {healed, Node}}) ->
+handle_partition_event({partition, {healed, _Node}}) ->
     alarm_handler:clear_alarm(partitioned).
 
 suppress(Key, SuccFun, State = #{events := Events}) ->