Explorar o código

style(emqx_sys): make elvis happy

Zaiming Shi %!s(int64=5) %!d(string=hai) anos
pai
achega
582dea10f5
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/emqx_sys.erl

+ 2 - 1
src/emqx_sys.erl

@@ -153,7 +153,8 @@ handle_info({timeout, TRef, heartbeat}, State = #state{heartbeat = TRef}) ->
     publish_any(datetime, iolist_to_binary(datetime())),
     {noreply, heartbeat(State)};
 
-handle_info({timeout, TRef, tick}, State = #state{ticker = TRef, version = Version, sysdescr = Descr}) ->
+handle_info({timeout, TRef, tick},
+            State = #state{ticker = TRef, version = Version, sysdescr = Descr}) ->
     publish_any(version, Version),
     publish_any(sysdescr, Descr),
     publish_any(brokers, ekka_mnesia:running_nodes()),