Commit bf072567 authored by vicotor's avatar vicotor

fix bug

parent 6fd29c73
...@@ -89,7 +89,7 @@ func NewNode() *Node { ...@@ -89,7 +89,7 @@ func NewNode() *Node {
func (n *Node) Start() error { func (n *Node) Start() error {
n.status = "running" n.status = "running"
if n.reg != nil { if n.reg != nil {
n.reg.Start() go n.reg.Start()
} }
return n.startAllTask() return n.startAllTask()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment