post changes after merging BS1.7.4

Remove tracking etc..
This commit is contained in:
SoftFever committed 2023-08-26 18:45:43 +08:00
1 parent e65b11a831
commit 2a478ab4f9
615 files changed
+46215 -54844

No files matched your search

-6
View File
@@ -451,15 +451,9 @@ void MonitorPanel::show_status(int status)
j["dev_id"] = obj ? obj->dev_id : "obj_nullptr";
if (status & (int)MonitorStatus::MONITOR_DISCONNECTED != 0) {
j["result"] = "failed";
if (agent) {
agent->track_event("connect_dev", j.dump());
}
}
else if (status & (int)MonitorStatus::MONITOR_NORMAL != 0) {
j["result"] = "success";
if (agent) {
agent->track_event("connect_dev", j.dump());
}
}
}
last_status = status;