Update autopilot.go

Fixing a minuscule typo in logging
This commit is contained in:
Krastin Krastev 2021-09-20 14:40:58 +02:00 committed by GitHub
parent 2af8e16ef9
commit f7b0938633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }
}() }()
} }