From b53994206714d48a07e87fb9a60c641dadc686db Mon Sep 17 00:00:00 2001 From: wangbowen Date: Fri, 5 Jul 2024 10:03:16 +0800 Subject: [PATCH] [Fix-16272][Alert Server] Alarm server failed to send alarm (#16275) --- .../dolphinscheduler/alert/service/AbstractEventSender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/service/AbstractEventSender.java b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/service/AbstractEventSender.java index deff97da49..24a06ba85f 100644 --- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/service/AbstractEventSender.java +++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/service/AbstractEventSender.java @@ -122,7 +122,7 @@ public abstract class AbstractEventSender implements EventSender { AlertInfo alertInfo = AlertInfo.builder() .alertData(alertData) - .alertParams(PluginParamsTransfer.getPluginParamsMap(instance.getPluginInstanceParams())) + .alertParams(JSONUtils.toMap(instance.getPluginInstanceParams())) .alertPluginInstanceId(instance.getId()) .build(); try {