From: tierno Date: Fri, 7 Feb 2020 10:18:30 +0000 (+0000) Subject: fix 1014 allow k8snet with null value X-Git-Tag: v7.1.0rc1~25 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=8c81ab02335c7d3944d0d0c3357675d2058cd0da;p=osm%2FNBI.git fix 1014 allow k8snet with null value Change-Id: I1c9922fd63a495422eb7029af04d7ea60b35c678 Signed-off-by: tierno --- 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 }