From bc4e18a4114e84154282bbad817243a84b1693eb Mon Sep 17 00:00:00 2001 From: Eishun Kondoh Date: Wed, 6 Jun 2018 20:16:17 +0900 Subject: [PATCH] tres/message_handler_sup: Removed disconnected message --- lib/tres/example_handler.ex | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/tres/example_handler.ex b/lib/tres/example_handler.ex index 4f4dc21..6a392bc 100644 --- a/lib/tres/example_handler.ex +++ b/lib/tres/example_handler.ex @@ -36,13 +36,6 @@ defmodule Tres.ExampleHandler do {:noreply, state} end - def handle_info({:switch_disconnected, reason}, state) do - :ok = - warn("[#{__MODULE__}] Switch Disconnected: datapath_id: #{state.datapath_id} by #{reason}") - - {:stop, :normal, state} - end - def handle_info({:switch_hang, _datapath_id}, state) do :ok = warn("[#{__MODULE__}] Switch possible hang: datapath_id: #{state.datapath_id}") {:noreply, state}