From: Ubuntu Date: Thu, 17 Dec 2020 16:17:23 +0000 (+0000) Subject: resolved dashboard issue X-Git-Tag: release-v9.0-start X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=bc22087b48fbf8c91c6c09d4c2058dfbfb19b7bb;p=osm%2FMON.git resolved dashboard issue Change-Id: I285eb6728f337e5ec13efcc27aa49cc3ab3fad0d Signed-off-by: Ubuntu --- diff --git a/osm_mon/dashboarder/service.py b/osm_mon/dashboarder/service.py index 902f25f..1e81c8a 100644 --- a/osm_mon/dashboarder/service.py +++ b/osm_mon/dashboarder/service.py @@ -72,7 +72,7 @@ class DashboarderService: try: vnfd = self.common_db.get_vnfd_by_id(vnf_profile['vnfd-id']) # If there are metrics, create dashboard (if exists) - if vnfd and 'monitoring-parameter' in vnfd: + if vnfd and 'monitoring-parameter' in vnfd["vdu"][0]: if nsr_id not in dashboard_uids: nsr_name = nsr['name'] project_id = nsr["_admin"]["projects_read"][0]