1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-11-10 08:00:05 -05:00

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

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")
}