Adding RemoveFailedNode to consul.Client

This commit is contained in:
Armon Dadgar 2013-12-30 14:42:23 -08:00
parent b468519698
commit 53298520ad
1 changed files with 5 additions and 0 deletions

View File

@ -148,6 +148,11 @@ func (c *Client) LANMembers() []serf.Member {
return c.serf.Members()
}
// RemoveFailedNode is used to remove a failed node from the cluster
func (c *Client) RemoveFailedNode(node string) error {
return c.serf.RemoveFailedNode(node)
}
// lanEventHandler is used to handle events from the lan Serf cluster
func (c *Client) lanEventHandler() {
for {