Replace vfmodule: expect optional retainVolumeGroups param
[vid.git] / vid-app-common / src / main / java / org / onap / vid / model / ServiceModel.java
index 121c7e4..1c8a465 100644 (file)
@@ -333,7 +333,7 @@ public class ServiceModel {
 
                                // now check to see if there is a vf module with customization name that starts with normalizedVnfCustomizationName
 
-                               if (!MapUtils.isEmpty(getVolumeGroups())) {
+                               if (!MapUtils.isEmpty(getVfModules())) {
                                        for (Entry<String, VfModule> vfModuleComponent : getVfModules().entrySet()) {
                                                vfModuleCustomizationName = vfModuleComponent.getValue().getModelCustomizationName();