From ea97c04d6d6d9cbf61d03bebec7ed17e07919ed3 Mon Sep 17 00:00:00 2001 From: tierno Date: Fri, 13 Sep 2019 09:44:42 +0000 Subject: [PATCH] bug 839: fix error looking for nsi using a nst Change-Id: Iba0af5eccc16255eb408531fd5b0da3637651274 Signed-off-by: tierno --- osm_nbi/__init__.py | 4 ++-- osm_nbi/descriptor_topics.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/osm_nbi/__init__.py b/osm_nbi/__init__.py index 1e02f66..d93de2d 100644 --- a/osm_nbi/__init__.py +++ b/osm_nbi/__init__.py @@ -12,5 +12,5 @@ # under the License. ## -version = '6.0.2.post1' -version_date = '2018-08-30' +version = '6.0.2.post3' +version_date = '2018-09-13' diff --git a/osm_nbi/descriptor_topics.py b/osm_nbi/descriptor_topics.py index 27b51a1..0c9a3a4 100644 --- a/osm_nbi/descriptor_topics.py +++ b/osm_nbi/descriptor_topics.py @@ -854,7 +854,7 @@ class NstTopic(DescriptorTopic): return # Get Network Slice Template from Database _filter = self._get_project_filter(session) - _filter["nst-id"] = _id + _filter["_admin.nst-id"] = _id if self.db.get_list("nsis", _filter): raise EngineException("there is at least one Netslice Instance using this descriptor", http_code=HTTPStatus.CONFLICT) -- 2.25.1