mirror of https://github.com/status-im/consul.git
parent
2af8e16ef9
commit
f7b0938633
|
@ -58,7 +58,7 @@ func (d *AutopilotDelegate) NotifyState(state *autopilot.State) {
|
||||||
func (d *AutopilotDelegate) RemoveFailedServer(srv *autopilot.Server) {
|
func (d *AutopilotDelegate) RemoveFailedServer(srv *autopilot.Server) {
|
||||||
go func() {
|
go func() {
|
||||||
if err := d.server.RemoveFailedNode(srv.Name, false); err != nil {
|
if err := d.server.RemoveFailedNode(srv.Name, false); err != nil {
|
||||||
d.server.logger.Error("failedto remove server", "name", srv.Name, "id", srv.ID, "error", err)
|
d.server.logger.Error("failed to remove server", "name", srv.Name, "id", srv.ID, "error", err)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue