Merge pull request #242 from tufanbarisyildirim/fix/back-online

fix back online scenario we broke in pull request #234
pull/241/head^2
Hunter Long 2019-10-15 08:55:44 -07:00 committed by GitHub
commit d73a957e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -261,8 +261,8 @@ func recordSuccess(s *Service) {
}
utils.Log(1, fmt.Sprintf("Service %v Successful Response: %0.2f ms | Lookup in: %0.2f ms", s.Name, hit.Latency*1000, hit.PingTime*1000))
s.CreateHit(hit)
s.Online = true
notifier.OnSuccess(s.Service)
s.Online = true
s.SuccessNotified = true
}