projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for Bug 1397: handled exception TypeError
[osm/MON.git]
/
osm_mon
/
collector
/
vnf_collectors
/
vio.py
diff --git
a/osm_mon/collector/vnf_collectors/vio.py
b/osm_mon/collector/vnf_collectors/vio.py
index
b59f02d
..
8413496
100644
(file)
--- a/
osm_mon/collector/vnf_collectors/vio.py
+++ b/
osm_mon/collector/vnf_collectors/vio.py
@@
-55,7
+55,7
@@
class VIOCollector(BaseVimCollector):
if vnfr['_admin']['projects_read']:
tags['project_id'] = vnfr['_admin']['projects_read'][0]
else:
if vnfr['_admin']['projects_read']:
tags['project_id'] = vnfr['_admin']['projects_read'][0]
else:
- tags['project_id'] =
None
+ tags['project_id'] =
''
# Fetch the list of all known resources from vROPS.
resource_list = self.vrops.get_vm_resource_list_from_vrops()
# Fetch the list of all known resources from vROPS.
resource_list = self.vrops.get_vm_resource_list_from_vrops()