Explorar el Código

fix(emqx_rule_engine_api): Dialyzer warnings for no_match

Zaiming Shi hace 5 años
padre
commit
bdfcc2da0e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      apps/emqx_rule_engine/src/emqx_rule_engine_api.erl

+ 3 - 0
apps/emqx_rule_engine/src/emqx_rule_engine_api.erl

@@ -22,6 +22,9 @@
 
 -import(minirest,  [return/1]).
 
+%% A lot of case clause no_match:es from rule_events.hrl
+-dialyzer(no_match).
+
 -rest_api(#{name   => create_rule,
             method => 'POST',
             path   => "/rules/",