Skip to content

Commit

Permalink
fixed send alerts when healthy status
Browse files Browse the repository at this point in the history
  • Loading branch information
nbari committed Dec 16, 2016
1 parent f377dae commit 5d44919
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog
=========

## 2.1.1
- fixed report.go to send alert if site is healthy

## 2.1.0
- fixed a bug on report.go https://github.com/epazote/epazote/issues/3

Expand Down
2 changes: 2 additions & 0 deletions report.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ func (e *Epazote) Report(m MailMan, s *Service, a *Action, r *http.Response, eCo
if s.action != nil {
a = s.action
}
} else {
s.Threshold.healthy = 0
}

// create status report
Expand Down

0 comments on commit 5d44919

Please sign in to comment.