Skip to content

Commit 8f743b2

Browse files
author
‘niuerzhuang’
committed
feature: allow data report
1 parent 9208b58 commit 8f743b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dongtai-agent/src/main/java/io/dongtai/iast/agent/monitor/impl/AgentStateMonitor.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,9 @@ public void check() {
6565
if (allowReport && !agentState.isAllowReport()) {
6666
DongTaiLog.info("engine is allowed to report data");
6767
agentState.setAllowReport(allowReport);
68-
engineManager.start();
6968
} else if (!allowReport && agentState.isAllowReport()) {
7069
DongTaiLog.info("engine is not allowed to report data");
7170
agentState.setAllowReport(allowReport);
72-
engineManager.stop();
7371
}
7472

7573
if (!agentState.isFallback() && !agentState.isException() && agentState.isAllowReport() && agentState.isAllowReport()) {

0 commit comments

Comments
 (0)