Collect null project_ids as empty strings
[osm/MON.git] / osm_mon / collector / vnf_collectors / openstack.py
index d1cd2a1..60b387c 100644 (file)
@@ -88,7 +88,7 @@ class OpenstackCollector(BaseVimCollector):
         if vnfr['_admin']['projects_read']:
             tags['project_id'] = vnfr['_admin']['projects_read'][0]
         else:
-            tags['project_id'] = None
+            tags['project_id'] = ''
 
         metrics = []
         for vdur in vnfr['vdur']: