Add 'WARNING' as possible STATUS SEVERITY

This commit is contained in:
Aaron Lindsay 2017-03-26 20:09:37 -04:00
parent 27a88ca703
commit f3b5eb5b31
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ type Status struct {
func (s *Status) Valid() (bool, error) {
switch s.Severity {
case "INFO", "WARN", "ERROR":
case "INFO", "WARN", "WARNING", "ERROR":
default:
return false, errors.New("Invalid STATUS>SEVERITY")
}