Browse Source

watcher

master
zeus 4 years ago
parent
commit
08f609d971
  1. 3
      swarmlab-app/src/run/app.js

3
swarmlab-app/src/run/app.js

@ -209,7 +209,8 @@ global.pipelines=[];
//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));
var resob = resdata.data var resob = resdata.data
resob.pathlogfile = pathfileval 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")

Loading…
Cancel
Save