Rename cookie.

Fix unused alias.
This commit is contained in:
Pim Kunis 2019-08-24 17:59:03 +02:00
parent aa0624b43c
commit e888f1330b
3 changed files with 4 additions and 6 deletions

View file

@ -22,7 +22,7 @@ defmodule Firmware.Application do
# List all child processes to be supervised
def children(:host) do
{:ok, _} = Node.start(:"host@0.0.0.0")
Node.set_cookie(:testcookie)
Node.set_cookie(:tastycookie)
true = Node.connect(:"esrom@esrom.lan")
[]
end