mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
Merge pull request #3890 from hashicorp/b-heartbeat
Heartbeat improvements and handling failures during establishing leadership
This commit is contained in:
@@ -1171,6 +1171,7 @@ func (c *Client) registerNode() error {
|
||||
// Update the node status to ready after we register.
|
||||
c.configLock.Lock()
|
||||
node.Status = structs.NodeStatusReady
|
||||
c.config.Node.Status = structs.NodeStatusReady
|
||||
c.configLock.Unlock()
|
||||
|
||||
c.logger.Printf("[INFO] client: node registration complete")
|
||||
|
||||
Reference in New Issue
Block a user