From 8c81ab02335c7d3944d0d0c3357675d2058cd0da Mon Sep 17 00:00:00 2001 From: tierno Date: Fri, 7 Feb 2020 10:18:30 +0000 Subject: [PATCH] fix 1014 allow k8snet with null value Change-Id: I1c9922fd63a495422eb7029af04d7ea60b35c678 Signed-off-by: tierno --- osm_nbi/validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm_nbi/validation.py b/osm_nbi/validation.py index 69c42ae..ac0dcd9 100644 --- a/osm_nbi/validation.py +++ b/osm_nbi/validation.py @@ -552,7 +552,7 @@ k8scluster_nets_schema = { "title": "k8scluster nets input schema", "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", - "patternProperties": {".": {"oneOf": [description_schema, null_schema]}}, + "patternProperties": {".": {"oneOf": [name_schema, null_schema]}}, "minProperties": 1, "additionalProperties": False } -- 2.25.1