From 5db450c815d6f414a4674613a64d9a6dda3f6d61 Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 23 Nov 2020 02:50:25 +0200 Subject: [PATCH] watcher --- 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 840d81f..f156ad1 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -211,7 +211,7 @@ global.pipelines=[]; //resdata.data.pathlogfile = 'test' var resob = {} resob.pathlogfile = pathfileval - resob.data = resdata.data + resob.data = 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")