diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-11-25 02:29:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-11-25 02:29:52 +0000 |
commit | 86b26db6e9bdcfae238833197fbc92642547ea7f (patch) | |
tree | 0891d0ebf9b94dc4c07c1cb5f0492aa7849769b4 | |
parent | 12cbed256f5716ac4b6b9ec1414cad73296c65c6 (diff) | |
parent | 03fafee16950784d30f1cc2e9c4afd7e971973f4 (diff) |
Merge "Fix version string in query" into casablanca
-rw-r--r-- | adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/CatalogDbAdapterRest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/CatalogDbAdapterRest.java b/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/CatalogDbAdapterRest.java index 8a7b7a2e9d..9bcbe16af2 100644 --- a/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/CatalogDbAdapterRest.java +++ b/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/CatalogDbAdapterRest.java @@ -588,7 +588,7 @@ public class CatalogDbAdapterRest { if (null == recipe) { NetworkResource nResource = networkResourceRepo.findResourceByModelUUID(rmUuid); - recipe = networkRecipeRepo.findFirstByModelNameAndActionAndVersionStr(nResource.getModelName(), action, vnf.getModelVersion()); + recipe = networkRecipeRepo.findFirstByModelNameAndActionAndVersionStr(nResource.getModelName(), action, nResource.getModelVersion()); // for network fetch the default recipe if (recipe == null) { |