From 23dd3bd77f0ada2f0c62cbba001a68c2c2e058c2 Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 23 Nov 2020 22:52:19 +0200 Subject: [PATCH] global --- swarmlab-app/src/run/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 7ccff58..416abb2 100755 --- a/swarmlab-app/src/run/app.js +++ b/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));