Skip to content

Commit

Permalink
[schema] Added minlength and maxlength to hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Feb 10, 2016
1 parent a7abcec commit c2cc3fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netjsonconfig/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@
"properties": {
"hostname": {
"type": "string",
"maxLength": 63,
"minLength": 1,
"propertyOrder": 1,
},
"maintainer": {
Expand Down

0 comments on commit c2cc3fc

Please sign in to comment.