1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00

fixed naming of hello node subject

This commit is contained in:
postmannen 2021-05-28 16:50:48 +02:00
parent 68a0b50801
commit 0d460c8ebb
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View file

@ -2,9 +2,11 @@ ship1/
ship2/
ship3/
central/
ww.central/
tmp/
var/
./incommmingBuffer.db
store.log
changes.md
steward.sock
.gitignore

View file

@ -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,