Browse Source

[Fix-16272][Alert Server] Alarm server failed to send alarm (#16275)

dev
wangbowen 5 months ago committed by GitHub
parent
commit
b539942067
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/service/AbstractEventSender.java

2
dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/service/AbstractEventSender.java

@ -122,7 +122,7 @@ public abstract class AbstractEventSender<T> implements EventSender<T> {
AlertInfo alertInfo = AlertInfo.builder()
.alertData(alertData)
.alertParams(PluginParamsTransfer.getPluginParamsMap(instance.getPluginInstanceParams()))
.alertParams(JSONUtils.toMap(instance.getPluginInstanceParams()))
.alertPluginInstanceId(instance.getId())
.build();
try {

Loading…
Cancel
Save