|
|
@ -211,7 +211,8 @@ global.pipelines=[]; |
|
|
|
var resob = resdata.data |
|
|
|
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")
|
|
|
|
indexfind === -1 ? global.pipelines.push(resob) : console.log("object already exists") |
|
|
|
|
|
|
|
//console.log('info', JSON.stringify(resdata));
|
|
|
|
console.log('info------------- ', JSON.stringify(global.pipelines)); |
|
|
|