Check if deployed esrom node is reachable before executing rpc.
This commit is contained in:
parent
ad24ec96ac
commit
45b6408b6b
3 changed files with 9 additions and 2 deletions
|
@ -23,7 +23,7 @@ defmodule Ui.Application do
|
|||
def children(:host) do
|
||||
{:ok, _} = Node.start(:"host@0.0.0.0")
|
||||
Node.set_cookie(:tastycookie)
|
||||
true = Node.connect(:"esrom@esrom.lan")
|
||||
Node.connect(:"esrom@esrom.lan")
|
||||
[]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue