commit | 8c446884a86ba9e144ceea93e399efd9a1219ee2 | [log] [tgz] |
---|---|---|
author | Chuanyu Chen <chenchuanyu@huawei.com> | Mon Apr 09 04:10:05 2018 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Mon Apr 09 04:10:05 2018 +0000 |
tree | c77318c7bd491f6dfb040ff2959abca7adb761d2 | |
parent | e2659644af524eb7ee5d83141952cd15bdca3d30 [diff] | |
parent | d40d4e9f864b78b770a74f31740936316e0a9f53 [diff] |
Merge "Use getVersion() to get Version of VNFResource"
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 e1d5905..3fa074e 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 @@ return null; } - VnfRecipe recipe = this.getVnfRecipeByNameVersion(vnfResource.getModelName(), vnfResource.getModelVersion(), action); + VnfRecipe recipe = this.getVnfRecipeByNameVersion(vnfResource.getModelName(), vnfResource.getVersion(), action); return recipe; }