1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-11-14 01:00:06 -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) { func (s *Status) Valid() (bool, error) {
switch s.Severity { switch s.Severity {
case "INFO", "WARN", "ERROR": case "INFO", "WARN", "WARNING", "ERROR":
default: default:
return false, errors.New("Invalid STATUS>SEVERITY") return false, errors.New("Invalid STATUS>SEVERITY")
} }