critical bugfix

This commit is contained in:
Danielv123 committed 2017-07-10 13:33:18 +02:00
1 parent dd9e8d5029
commit d394426958
1 file changed
+1 -1
+1 -1
View File
@@ -499,7 +499,7 @@ function instanceManagement() {
for(let key in flowStat2) totalFlows[key] = flowStat2[key];
if(oldFlowStats && totalFlows && oldTimestamp) {
// todo: Migrate this to JSON.parse(JSON.stringify())
let payload = objectOps.clone(totalFlows);
let payload = objectOps.deepclone(totalFlows);
// change from total reported to per time unit
for(let key in oldFlowStats) {
// get production per minute