From 719ada68fe81069071af4e901d380198ad58df87 Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 11 May 2021 01:55:53 +0300 Subject: [PATCH] add venus start --- files/mongo/venus-stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/mongo/venus-stats.js b/files/mongo/venus-stats.js index d295e10..b80210e 100644 --- a/files/mongo/venus-stats.js +++ b/files/mongo/venus-stats.js @@ -60,7 +60,7 @@ if (args["insert"] == 'yes'){ }, }); var datajsontmp = stdout.toString() - var datajson = mysearch(devname, datajsontmp); + var datajson = mysearch(devname, Object.values(datajsontmp)); console.error('exec ' + JSON.stringify(datajson)); } catch (error) { var datajson = error.toString()