aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java b/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java
index 4d22a92..2fc4d33 100644
--- a/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java
+++ b/src/main/java/org/onap/pomba/contextbuilder/networkdiscovery/service/SpringServiceImpl.java
@@ -465,6 +465,7 @@ public class SpringServiceImpl implements SpringService {
for (VFModule vfModule : vf.getVfModules()) {
for (VM vm : vfModule.getVms() ) {
ndresourceList.add(new NdResource(vm.getNfcNamingCode(), vm.getUuid()));
+ vm.setNfcNamingCode(null);
}
for (Network network : vfModule.getNetworks()) {
ndresourceList.add(new NdResource(network.getType(), network.getUuid()));