From 0d460c8ebbd21f6b91f12aecfc9a524595cce6f7 Mon Sep 17 00:00:00 2001 From: postmannen Date: Fri, 28 May 2021 16:50:48 +0200 Subject: [PATCH] fixed naming of hello node subject --- .gitignore | 2 ++ startup_processes.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3d43c99..046163f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,11 @@ ship1/ ship2/ ship3/ central/ +ww.central/ tmp/ var/ ./incommmingBuffer.db store.log changes.md steward.sock +.gitignore \ No newline at end of file diff --git a/startup_processes.go b/startup_processes.go index 6cd0ab3..71aeb77 100644 --- a/startup_processes.go +++ b/startup_processes.go @@ -111,7 +111,7 @@ func (s startup) pubREQHello(p process) { d := fmt.Sprintf("Hello from %v\n", p.node) m := Message{ - ToNode: "central", + ToNode: node(p.configuration.CentralNodeName), FromNode: node(p.node), Data: []string{d}, Method: REQHello,