Formatted and fix minor fixes
This commit is contained in:
parent
442fe2eaa4
commit
112e0ce4b5
4 changed files with 14 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue