resolved dashboard issue
Change-Id: I285eb6728f337e5ec13efcc27aa49cc3ab3fad0d
Signed-off-by: Ubuntu <Atul.agarwal@altran.com>
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 @@
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]