Skip to content

Commit a2fb0b5

Browse files
authored
Merge pull request #520 from Nizernizer/fature/allow-data-report
fix: allow data report api fixed.
2 parents 627f15f + d57492a commit a2fb0b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public void check() {
5757

5858
if (stringStringMap != null) {
5959
expectState = stringStringMap.get("exceptRunningStatus").toString();
60-
if (null != stringStringMap.get("isAllowDateReport")) {
61-
allowReport = !"0".equals(stringStringMap.get("isAllowDateReport").toString());
60+
if (null != stringStringMap.get("allowReport")) {
61+
allowReport = !"0".equals(stringStringMap.get("allowReport").toString());
6262
}
6363
}
6464

0 commit comments

Comments
 (0)