This is an automated email from the ASF dual-hosted git repository.
wangtao29 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozhera.git
The following commit(s) were added to refs/heads/master by this push:
new 2d7765bf fix: corrected the alarm group update loss issue (#495)
2d7765bf is described below
commit 2d7765bfa18ac4e4c71f10cb65e1f731d5155490
Author: gaoxh <[email protected]>
AuthorDate: Fri Oct 25 15:31:11 2024 +0800
fix: corrected the alarm group update loss issue (#495)
Co-authored-by: gaoxihui <[email protected]>
---
.../org/apache/ozhera/monitor/service/impl/AppAlarmServiceImpl.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/ozhera-monitor/ozhera-monitor-service/src/main/java/org/apache/ozhera/monitor/service/impl/AppAlarmServiceImpl.java
b/ozhera-monitor/ozhera-monitor-service/src/main/java/org/apache/ozhera/monitor/service/impl/AppAlarmServiceImpl.java
index 017a18cd..aa833e1e 100644
---
a/ozhera-monitor/ozhera-monitor-service/src/main/java/org/apache/ozhera/monitor/service/impl/AppAlarmServiceImpl.java
+++
b/ozhera-monitor/ozhera-monitor-service/src/main/java/org/apache/ozhera/monitor/service/impl/AppAlarmServiceImpl.java
@@ -711,7 +711,8 @@ public class AppAlarmServiceImpl implements AppAlarmService
{
ruleData.setAlertMembers(param.getAlertMembers());
ruleData.setAtMembers(param.getAtMembers());
-
+ ruleData.setAlertTeam(param.getAlertTeam());
+
Result result = editAlarmRule(ruleData, alarmStrategy,
appMonitor, param.getUser());
if (!result.isSuccess()) {
failResult.orElse(result);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]