Formatted and fix minor fixes

This commit is contained in:
Eishun Kondoh 2018-03-17 22:43:58 +09:00
parent 442fe2eaa4
commit 112e0ce4b5
4 changed files with 14 additions and 8 deletions

View file

@ -27,7 +27,7 @@ defmodule Tres.SwitchRegistry do
end
def get_current_xid({_dpid, _aux_id} = datapath_id) do
[{pid, _}|_] = Registry.lookup(__MODULE__, datapath_id)
[{pid, _} | _] = Registry.lookup(__MODULE__, datapath_id)
:gen_statem.call(pid, :get_xid, 1000)
end