Skip to content

Commit

Permalink
Fix enum of use_syslog property
Browse files Browse the repository at this point in the history
  • Loading branch information
okraits committed Apr 2, 2019
1 parent fd2c77b commit 612981c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions netjsonconfig/backends/openwrt/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,13 +634,16 @@
"type": "integer",
"title": "use_syslog",
"description": "level of events logged to syslog",
"enum": [
"disable",
"info, notice, warning, errors",
"notice, warning, errors",
"warning, errors",
"errors"
],
"enum": [0, 1, 2, 3, 4],
"options": {
"enum_titles": [
"0 - disable",
"1 - info, notice, warning, errors",
"2 - notice, warning, errors",
"3 - warning, errors",
"4 - errors"
]
},
"default": 0,
"propertyOrder": 15,
},
Expand Down

0 comments on commit 612981c

Please sign in to comment.