fix(notification): fix the any checkLevel string

pull/14979/head
Kelvin Wang 2019-09-05 15:11:43 -04:00
parent feda6dcd27
commit d34f3b96b5
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ func (cl *CheckLevel) UnmarshalJSON(b []byte) error {
// String returns the string value, invalid CheckLevel will return Unknown.
func (cl CheckLevel) String() string {
if cl < Unknown || cl > Critical {
if cl < Unknown || cl > Any {
cl = Unknown
}
return checkLevels[cl]