More 'improvements' based on goreportcard.com

This commit is contained in:
Matej Kramny
2015-03-20 20:52:57 +01:00
parent 3d0b0c88e1
commit cdf51d89f6
5 changed files with 16 additions and 16 deletions

View File

@@ -55,7 +55,7 @@ func (monitor *Monitor) doRequest() bool {
return resp.StatusCode == monitor.ExpectedStatusCode
}
// Decides if the monitor is statistically up or down and creates / resolves an incident
// AnalyseData decides if the monitor is statistically up or down and creates / resolves an incident
func (monitor *Monitor) AnalyseData() {
// look at the past few incidents
numDown := 0