From d655d2b7499469e9abf084fad1e545d1882bdace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 29 Aug 2018 11:23:19 +0200 Subject: [PATCH] Users schema: don't supply schema when `allow_known=True` Apparently the new Cerberus doesn't like this, and will check against the schema only and ignore `allow_unknown` when it's there. --- pillar/api/eve_settings.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pillar/api/eve_settings.py b/pillar/api/eve_settings.py index 6c93c5c6..ba775537 100644 --- a/pillar/api/eve_settings.py +++ b/pillar/api/eve_settings.py @@ -121,12 +121,6 @@ users_schema = { 'service': { 'type': 'dict', 'allow_unknown': True, - 'schema': { - 'badger': { - 'type': 'list', - 'schema': {'type': 'string'} - } - } }, # Properties defined by extensions. Extensions should use their name (see the