diff options
Diffstat (limited to 'openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main')
-rw-r--r-- | openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java index 0257c8d7c2..78ce0787bf 100644 --- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/VendorSoftwareProductManagerImpl.java @@ -616,8 +616,8 @@ public class VendorSoftwareProductManagerImpl implements VendorSoftwareProductMa .filter(version -> version.getId().equalsIgnoreCase(vlmVersion.getId())) .findAny() .ifPresent(version -> { - vlmVersion.setMinor(vlmVersion.getMinor()); - vlmVersion.setMajor(vlmVersion.getMajor()); + vlmVersion.setMinor(version.getMinor()); + vlmVersion.setMajor(version.getMajor()); }); } |