Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ignore 'not a leader' error on forfeit leadership
When forfeiting etcd leadership, it might be that the node still reports leadership status while not being a leader once the actual API call is used. We should ignore such an error as the node is not a leader. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
- Loading branch information