Commit a2d57027 authored by vicotor's avatar vicotor

update

parent c7a2755c
...@@ -143,11 +143,11 @@ func (n *Node) Start() error { ...@@ -143,11 +143,11 @@ func (n *Node) Start() error {
go n.registry.Start() go n.registry.Start()
go n.register.Start() go n.register.Start()
go n.postLoop() go n.postLoop()
n.SetStatus("running")
if err := n.apiStart(); err != nil { if err := n.apiStart(); err != nil {
return err return err
} }
n.SetStatus("running")
return nil return nil
} }
......
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