X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fdashboarder%2Fservice.py;fp=osm_mon%2Fdashboarder%2Fservice.py;h=1e81c8ad64fd96b2e2541a49996873828e62511b;hb=883def3c858da98bbc11b693e078d1c4f2eb08b2;hp=902f25ff06acba38b0177ddfe3f308ab2b5da104;hpb=12fda453522dc7686d1842c0ec1380e319143604;p=osm%2FMON.git 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]