Commit 1b4e1482 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Fix strict param on ConfDBQueryParam model.

parent caad59ea
......@@ -35,7 +35,7 @@ TYPE_MAP = {"str": StringParameter(), "int": IntParameter(), "bool": BooleanPara
class ConfDBQueryParam(EmbeddedDocument):
meta = {"strict": True}
meta = {"strict": False}
name = StringField()
type = StringField(choices=["str", "int", "bool"])
default = StringField()
......@@ -51,7 +51,7 @@ class ObjectValidationRule(EmbeddedDocument):
@on_delete_check(check=[("sa.ManagedObjectProfile", "object_validation_policy")])
class ObjectValidationPolicy(Document):
meta = {"collection": "objectvalidationpolicies", "strict": True, "auto_create_index": False}
meta = {"collection": "objectvalidationpolicies", "strict": False, "auto_create_index": False}
name = StringField(unique=True)
description = StringField()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment