[REV] Setup online when node start.

This commit is contained in:
Zhang Jiajun 2018-09-11 16:48:46 +08:00
parent 14a4afb020
commit 69c6251ed8

View File

@ -84,6 +84,7 @@ func NewNodeManager(conf *option.Conf) (*NodeManager, error) {
healthy: healthyManager,
etcdCli:etcdCli,
}
nodem.HostNode.NodeStatus = &client.NodeStatus{Status: "online"}
return nodem, nil
}