Skip to content
Snippets Groups Projects
Verified Commit 810f4179 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: set manager at the worker #9

parent 5f2b8c87
No related branches found
No related tags found
No related merge requests found
...@@ -169,6 +169,7 @@ func (m *Manager) AddWorker(worker Worker) error { ...@@ -169,6 +169,7 @@ func (m *Manager) AddWorker(worker Worker) error {
// add worker to workerMap // add worker to workerMap
m.workerMap[worker.GetID()] = worker m.workerMap[worker.GetID()] = worker
worker.SetManager(m)
return m.checkAndSetRunningState() return m.checkAndSetRunningState()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment