mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
fix: rule snapshot
This commit is contained in:
1 parent
03aa75dc01
commit
7d689862d8
2 files changed
+2
-2
No files matched your search
@@ -2,7 +2,7 @@ package model
|
||||
|
||||
type AlertRuleForm struct {
|
||||
Name string `json:"name" minLength:"1"`
|
||||
Rules []Rule `json:"rules"`
|
||||
Rules []*Rule `json:"rules"`
|
||||
FailTriggerTasks []uint64 `json:"fail_trigger_tasks"` // 失败时触发的任务id
|
||||
RecoverTriggerTasks []uint64 `json:"recover_trigger_tasks"` // 恢复时触发的任务id
|
||||
NotificationGroupID uint64 `json:"notification_group_id"`
|
||||
|
||||
Reference in new issue
Block a user