From 6df2404bfdc1ccb8844f08cfa349adb15c86a2fc Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Mon, 2 Sep 2024 17:15:52 +0800 Subject: [PATCH] format message --- apps/iot/src/iot_watchdog.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/iot/src/iot_watchdog.erl b/apps/iot/src/iot_watchdog.erl index 9ce2756..9aeea3c 100644 --- a/apps/iot/src/iot_watchdog.erl +++ b/apps/iot/src/iot_watchdog.erl @@ -133,7 +133,7 @@ handle_cast({detection, HostUUID, Name, Metric}, case length(Warnings) > 0 of true -> - Subject = iolist_to_binary([<<"主机: "/utf8>>, Name, lists:join(<<"|">>, lists:reverse(Warnings))]), + Subject = iolist_to_binary([<<"主机: "/utf8>>, Name, <<" || ">>, lists:join(<<"|">>, lists:reverse(Warnings))]), Body = format_warn(Subject, Users, PriKey), case catch do_post(Url, Body) of {ok, Resp} ->