summaryrefslogtreecommitdiffstats
path: root/dgbuilder/nodes/dge/dgemain/dgstart.js
diff options
context:
space:
mode:
authorChinthakayala,Sheshashailavas(sc2914) <sc2914@att.com>2018-04-10 18:17:44 +0000
committerChinthakayala,Sheshashailavas(sc2914) <sc2914@att.com>2018-04-10 18:23:06 +0000
commit19b75a8b179af090ed4d275a4c85515148c1f890 (patch)
tree19ee6ec6460e529ba4d5737d237f88e499b5ed7f /dgbuilder/nodes/dge/dgemain/dgstart.js
parentd200fedd1fa5513574aec2d0ee9b0d4dbc6f7cff (diff)
changed the text to look for on success upload
changed to look for the text Saving SvcLogicGraph on successfull upload Change-Id: Ic672d67e754f4e4566515963506ee00f8991fc04 Issue-ID: CCSDK-238 Signed-off-by: Chinthakayala,Sheshashailavas(sc2914) <sc2914@att.com>
Diffstat (limited to 'dgbuilder/nodes/dge/dgemain/dgstart.js')
-rw-r--r--dgbuilder/nodes/dge/dgemain/dgstart.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgbuilder/nodes/dge/dgemain/dgstart.js b/dgbuilder/nodes/dge/dgemain/dgstart.js
index f2b4815e..e55c8271 100644
--- a/dgbuilder/nodes/dge/dgemain/dgstart.js
+++ b/dgbuilder/nodes/dge/dgemain/dgstart.js
@@ -250,7 +250,7 @@ function uploadDG(filePath,moduleName,rpc,res){
}
if(stderr && !stdout){
//console.log("stderr:" + stderr);
- if(stderr.indexOf("Saving SvcLogicGraph to database") != -1){
+ if(stderr.indexOf("Saving SvcLogicGraph") != -1){
res.send(200,{'error':error,'stdout' :'','stderr':stderr,"url":dbHost,"module" : moduleName,"rpc" : rpc});
}else{
res.send(500,{'error':error,'stdout' :'','stderr':stderr});