mirror of
https://github.com/aclindsa/ofxgo.git
synced 2025-02-24 01:18:25 -05:00
Add 'WARNING' as possible STATUS SEVERITY
This commit is contained in:
parent
27a88ca703
commit
f3b5eb5b31
@ -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")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user