From d40d4e9f864b78b770a74f31740936316e0a9f53 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Fri, 6 Apr 2018 11:53:27 +0000 Subject: 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 --- .../src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit 1.2.3-korg