Sfoglia il codice sorgente

Correct removal of reinstall_handler.

Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
pull/328/head
Brian L. Troutwine 9 anni fa
parent
commit
fb0064824b
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      src/lager_handler_watcher.erl

+ 3
- 0
src/lager_handler_watcher.erl Vedi File

@ -80,6 +80,9 @@ handle_info({gen_event_EXIT, Module, Reason}, #state{module=Module,
ok
end,
{noreply, State};
handle_info(reinstall_handler, #state{module=Module, config=Config, sink=Sink} = State) ->
install_handler(Sink, Module, Config),
{noreply, State};
handle_info(reboot, State) ->
lager_app:boot(),
{noreply, State};

Caricamento…
Annulla
Salva