|
@ -208,9 +208,8 @@ global.pipelines=[]; |
|
|
var resdata = await getpipelines(token,pathfile) |
|
|
var resdata = await getpipelines(token,pathfile) |
|
|
//console.log('info-------->>>>>>>>>>>> ', JSON.stringify(resdata));
|
|
|
//console.log('info-------->>>>>>>>>>>> ', JSON.stringify(resdata));
|
|
|
//console.log('info----------------------- ', JSON.stringify(resdata.data));
|
|
|
//console.log('info----------------------- ', JSON.stringify(resdata.data));
|
|
|
|
|
|
resdata.data.pathlogfile = pathfileval |
|
|
var resob = resdata.data |
|
|
var resob = resdata.data |
|
|
resob.pathlogfile = {} |
|
|
|
|
|
resob.pathlogfile = path |
|
|
|
|
|
var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data.res25swarmlabname); |
|
|
var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data.res25swarmlabname); |
|
|
|
|
|
|
|
|
//indexfind === -1 ? global.pipelines.push({resob}) : console.log("object already exists")
|
|
|
//indexfind === -1 ? global.pipelines.push({resob}) : console.log("object already exists")
|
|
|