diff --git a/agent/consul/client.go b/agent/consul/client.go index 7e5a0044f..14b36373f 100644 --- a/agent/consul/client.go +++ b/agent/consul/client.go @@ -265,7 +265,7 @@ func (c *Client) LANSegmentMembers(segment string) ([]serf.Member, error) { // RemoveFailedNode is used to remove a failed node from the cluster func (c *Client) RemoveFailedNode(node string, prune bool) error { if prune { - c.serf.RemoveFailedNodePrune(node) + return c.serf.RemoveFailedNodePrune(node) } return c.serf.RemoveFailedNode(node) }