minor fixes based on code review
This commit is contained in:
@@ -70,11 +70,11 @@ func (c *EvalContext) GetStateModel() *StateDescription {
|
||||
}
|
||||
case m.AlertStateUnknown:
|
||||
return &StateDescription{
|
||||
Color: "888888",
|
||||
Color: "#888888",
|
||||
Text: "Unknown",
|
||||
}
|
||||
default:
|
||||
panic("Unknown rule state for alert notifications " + c.Rule.State)
|
||||
panic("Unknown rule state for alert " + c.Rule.State)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user