From 53298520ad7ded4ce720db4e75b4a32161e1ca96 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Mon, 30 Dec 2013 14:42:23 -0800 Subject: [PATCH] Adding RemoveFailedNode to consul.Client --- consul/client.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/consul/client.go b/consul/client.go index 36c0a8e25e..6109fddc7b 100644 --- a/consul/client.go +++ b/consul/client.go @@ -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 {