Cerberus 1.3 renamed '{value,key}schema' to '{values,keys}rules'
'valueschema' and 'keyschema' have been replaced by 'valuesrules' and 'keysrules'. Note the change from 2x singular ('value' and 'schema') to 2x plural ('values' and 'rules').
This commit is contained in:
@@ -63,8 +63,8 @@ class UpgradeAttachmentSchemaTest(AbstractPillarTest):
|
||||
"url": {"type": "string"},
|
||||
"attachments": {
|
||||
"type": "dict",
|
||||
"keyschema": {"type": "string", "regex": "^[a-zA-Z0-9_ ]+$"},
|
||||
"valueschema": {
|
||||
"keysrules": {"type": "string", "regex": "^[a-zA-Z0-9_ ]+$"},
|
||||
"valuesrules": {
|
||||
"type": "dict",
|
||||
"schema": {
|
||||
"oid": {"type": "objectid", "required": True},
|
||||
|
Reference in New Issue
Block a user