summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-data-services/provider
diff options
context:
space:
mode:
authorGeorge, Lina (lg941u) <lg941u@att.com>2018-06-19 16:36:01 -0400
committerTakamune Cho <tc012c@att.com>2018-06-20 19:50:52 +0000
commit3d38c97e8e0ae3a2fda18cba4dcbae442901b7d8 (patch)
tree6fe85a4152ba327a940f766d4885e9f7c4b927b5 /appc-config/appc-data-services/provider
parent729bbeebfe3e20f9f9e756eb30af0a5324d8e264 (diff)
Changes in config upload for vmname
Issue-ID: APPC-1010 Change-Id: Idae8533e7e9498e173ed942fa3581982a9119651 Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
Diffstat (limited to 'appc-config/appc-data-services/provider')
-rw-r--r--appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/db/DGGeneralDBService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/db/DGGeneralDBService.java b/appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/db/DGGeneralDBService.java
index 42e9ac9df..b7b52f717 100644
--- a/appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/db/DGGeneralDBService.java
+++ b/appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/db/DGGeneralDBService.java
@@ -286,7 +286,7 @@ public class DGGeneralDBService {
if (serviceLogic != null && ctx != null) {
String key = "UPDATE UPLOAD_CONFIG " + " SET config_indicator = null "
+ " WHERE upload_config_id != " + maxId + " AND config_indicator = 'Current' "
- + " AND vnf_id = $vnf-id " + " AND vm_name = $vm-name ; ";
+ + " AND vnf_id = $vnf-id " + " AND vnfc_type = $vnfc-type ; ";
status = serviceLogic.save("SQL", false, false, key, null, prefix, ctx);