From: subhash kumar singh Date: Fri, 6 Apr 2018 11:53:27 +0000 (+0000) Subject: Use getVersion() to get Version of VNFResource X-Git-Tag: v1.2.1~213^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=d40d4e9f864b78b770a74f31740936316e0a9f53;p=so.git Use getVersion() to get Version of VNFResource Use getVersion() to get version of VNFResource. Change-Id: I7b507041d03130e15723c0b0ed045d43f335d085 Issue-ID: SO-422 Signed-off-by: subhash kumar singh --- diff --git a/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java b/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java index e1d590531f..3fa074e8e1 100644 --- a/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java +++ b/mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java @@ -1216,7 +1216,7 @@ public class CatalogDatabase implements Closeable { return null; } - VnfRecipe recipe = this.getVnfRecipeByNameVersion(vnfResource.getModelName(), vnfResource.getModelVersion(), action); + VnfRecipe recipe = this.getVnfRecipeByNameVersion(vnfResource.getModelName(), vnfResource.getVersion(), action); return recipe; }