Browse Source

global

master
zeus 4 years ago
parent
commit
23dd3bd77f
  1. 2
      swarmlab-app/src/run/app.js

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

@ -317,7 +317,7 @@ cors(corsOptions), (req, res, next) => {
console.log(reslog);
var pathfileval = pathmodule.basename(reslog.log.tailed_path);
var indexfind = global.pipelines.findIndex(x => x.pathlogfile==pathfileval);
indexfind === 1 ? sendlog(reslog, indexfind) : console.log("object already exists")
//indexfind === 1 ? sendlog(reslog, indexfind) : console.log("object already exists")
console.log("IOT "+JSON.stringify(reslog.log.tailed_path));
console.log("IOTindexfind "+JSON.stringify(indexfind));
console.log("IOTuser "+JSON.stringify(global.pipelines));

Loading…
Cancel
Save