🔨 升级版本.

This commit is contained in:
lijiahangmax
2025-10-20 00:23:48 +08:00
parent 55d0dfd27d
commit a2f7ab7f9c
11 changed files with 13 additions and 13 deletions

View File

@@ -135,7 +135,7 @@ public class MetricsAlarmEngine extends BaseAlarmEngine {
@Override
protected void setExtraAlarmPushParams(Map<String, Object> params, AlarmEventTriggerDTO event) {
HostAlarmSourceInfo sourceInfo = JSON.parseObject(event.getAlarmInfo(), HostAlarmSourceInfo.class);
HostAlarmSourceInfo sourceInfo = JSON.parseObject(event.getSourceInfo(), HostAlarmSourceInfo.class);
params.put("hostId", event.getSourceId());
params.put("hostName", sourceInfo.getName());
params.put("hostCode", sourceInfo.getCode());