diff options
author | amitjai <amitjai@amdocs.com> | 2018-01-31 16:20:30 +0530 |
---|---|---|
committer | amitjai <amitjai@amdocs.com> | 2018-01-31 16:22:46 +0530 |
commit | 3b09e29e1e1cab9baf3b1380718a3c45126930bd (patch) | |
tree | b3b88dd2ed609cf0baa8f5ec7e7205a0926239f7 /openecomp-be/backend | |
parent | 79f6e5e57e5a4cc66f890a5d3acfc0c5f19f9bfb (diff) |
wrongly setting version
Minor and Major version should be set from selected version of VLM
Change-Id: Id87e8383bcf02322462f6aef3c1b3d4eb2ad9d94
Issue-ID: SDC-935
Signed-off-by: amitjai <amitjai@amdocs.com>
Diffstat (limited to 'openecomp-be/backend')
-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()); }); } |