From f3b5eb5b3181528e425205d950f85b06cc21b225 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Sun, 26 Mar 2017 20:09:37 -0400 Subject: [PATCH] Add 'WARNING' as possible STATUS SEVERITY --- common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.go b/common.go index 3baa048..7b93b39 100644 --- a/common.go +++ b/common.go @@ -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") }