summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e682539)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
getDescriptorIdFromRecord = (record) => {
if (record.type && record.type == 'nsr') {
getDescriptorIdFromRecord = (record) => {
if (record.type && record.type == 'nsr') {
- return nsr.nsd && nsr.nsd.id;
+ return record.nsd && record.nsd.id;
} else if (record.type && record.type == 'vnfr') {
} else if (record.type && record.type == 'vnfr') {
- return vnfr.vnfd && vnfr.vnfd.id;
+ return record.vnfd && record.vnfd.id;