aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanyu Chen <chenchuanyu@huawei.com>2018-04-09 04:10:05 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-09 04:10:05 +0000
commit8c446884a86ba9e144ceea93e399efd9a1219ee2 (patch)
treec77318c7bd491f6dfb040ff2959abca7adb761d2
parente2659644af524eb7ee5d83141952cd15bdca3d30 (diff)
parentd40d4e9f864b78b770a74f31740936316e0a9f53 (diff)
Merge "Use getVersion() to get Version of VNFResource"
-rw-r--r--mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java2
1 files changed, 1 insertions, 1 deletions
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;
}