mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-11 18:32:08 +08:00
Merge pull request #1120 from gravitl/bugfix_v0.14.1_daemon_startup
Bugfix v0.14.1 daemon startup
This commit is contained in:
commit
69d5cb2d15
1 changed files with 2 additions and 1 deletions
|
@ -66,10 +66,11 @@ func Daemon() error {
|
|||
}
|
||||
|
||||
// == subscribe to all nodes for each on machine ==
|
||||
for server, config := range serverSet {
|
||||
for server := range serverSet {
|
||||
logger.Log(1, "started daemon for server ", server)
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
networkcontext.Store(server, cancel)
|
||||
config := serverSet[server]
|
||||
go messageQueue(ctx, &config)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue