diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-04-06 11:53:27 +0000 |
---|---|---|
committer | Rob Daugherty <rd472p@att.com> | 2018-04-06 14:13:58 +0000 |
commit | d40d4e9f864b78b770a74f31740936316e0a9f53 (patch) | |
tree | f23e6a46b2a327db4e003f184773f151468ac4fe /mso-catalog-db/src/main/java | |
parent | 8efb81d49609ede0d4693bbf39005433d20e2f7c (diff) |
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 <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'mso-catalog-db/src/main/java')
-rw-r--r-- | mso-catalog-db/src/main/java/org/openecomp/mso/db/catalog/CatalogDatabase.java | 2 |
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; } |