asscoiate comment with name

This commit is contained in:
bergquist 2017-10-24 13:40:03 +02:00
parent 5701b73ab2
commit 2f35759346

View File

@ -67,7 +67,7 @@ func (e *DefaultEvalHandler) Eval(context *EvalContext) {
metrics.M_Alerting_Execution_Time.Observe(float64(elapsedTime))
}
// This should be move into evalContext once its been refactored.
// This should be move into evalContext once its been refactored. (Carl Bergquist)
func (handler *DefaultEvalHandler) getNewState(evalContext *EvalContext) models.AlertStateType {
if evalContext.Error != nil {
handler.log.Error("Alert Rule Result Error",