Skip to content

Commit

Permalink
Fix too many agent updates (#1290)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntascii authored Oct 6, 2023
1 parent ce0868d commit 8f6a367
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,9 @@ AgentBean genUpdateBeanByReport(PingReportBean report, AgentBean agent) {
updateBean.setState(proposeNewAgentState(report, agent));
updateBean.setStage_start_date(System.currentTimeMillis());
updateBean.setDeploy_stage(report.getDeployStage());
if (report.getContainerHealthStatus() != null) {
if (report.getContainerHealthStatus() == null) {
updateBean.setContainer_Health_Status("");
} else {
updateBean.setContainer_Health_Status(report.getContainerHealthStatus());
}

Expand Down

0 comments on commit 8f6a367

Please sign in to comment.