mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
Merge pull request #5472 from zhaoxiangchun/bugfix/zxc-meteralart
修复meteralartbug
This commit is contained in:
@@ -170,8 +170,8 @@ func (man *SMeterAlertManager) ValidateCreateData(
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
data.Name = name
|
||||
data.AlertCreateInput = alertInput
|
||||
data.Name = name
|
||||
return &data, nil
|
||||
}
|
||||
|
||||
@@ -540,6 +540,7 @@ func (man *SMeterAlertManager) FetchCustomizeColumns(
|
||||
rows[i] = monitor.MeterAlertDetails{
|
||||
AlertV1Details: v1Rows[i],
|
||||
}
|
||||
rows[i], _ = objs[i].(*SMeterAlert).getMoreDetails(rows[i])
|
||||
}
|
||||
|
||||
return rows
|
||||
|
||||
Reference in New Issue
Block a user