Skip to content

Commit 04c6058

Browse files
committed
[OpenWrt] Moved file mode before contents in schema definition
1 parent 97fe9f5 commit 04c6058

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: netjsonconfig/backends/openwrt/schema.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -337,19 +337,19 @@
337337
"type": "string",
338338
"propertyOrder": 1,
339339
},
340-
"contents": {
341-
"type": "string",
342-
"format": "textarea",
343-
"propertyOrder": 2,
344-
},
345340
"mode": {
346341
"type": "string",
347342
"maxLength": 4,
348343
"minLength": 3,
349344
"pattern": "^[0-7]*$",
350345
"default": DEFAULT_FILE_MODE,
346+
"propertyOrder": 2,
347+
},
348+
"contents": {
349+
"type": "string",
350+
"format": "textarea",
351351
"propertyOrder": 3,
352-
}
352+
},
353353
}
354354
}
355355
}

0 commit comments

Comments
 (0)