From 883def3c858da98bbc11b693e078d1c4f2eb08b2 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 17 Dec 2020 16:17:23 +0000 Subject: [PATCH] resolved dashboard issue Change-Id: I285eb6728f337e5ec13efcc27aa49cc3ab3fad0d Signed-off-by: Ubuntu --- osm_mon/dashboarder/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.25.1