Skip to content

Commit

Permalink
Merge pull request #42 from msaizar/patch-1
Browse files Browse the repository at this point in the history
Failed to ping server fix
  • Loading branch information
bradrydzewski authored Aug 1, 2019
2 parents e5184ab + c1e38d6 commit 89450d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/pinger.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,6 @@ func (p *pinger) ping(ctx context.Context, server *autoscaler.Server) error {

server.Error = "Failed to ping the server"
server.Stopped = time.Now().Unix()
server.State = autoscaler.StateError
return p.servers.Update(ctx, server)
}

0 comments on commit 89450d6

Please sign in to comment.