Browse Source

watcher

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

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

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

Loading…
Cancel
Save