style(influxdb): tidy up code

This commit is contained in:
bergquist
2016-10-10 11:34:52 +02:00
parent 95b9f472d1
commit f609623abd
2 changed files with 39 additions and 39 deletions
@@ -122,7 +122,7 @@ func NewAlertEvaluator(model *simplejson.Json) (AlertEvaluator, error) {
return &NoDataEvaluator{}, nil
}
return nil, alerting.ValidationError{Reason: "Evaludator invalid evaluator type"}
return nil, alerting.ValidationError{Reason: "Evaludator invalid evaluator type: " + typ}
}
func inSlice(a string, list []string) bool {