update
This commit is contained in:
parent
03a058dff6
commit
0b4d812b90
|
@ -160,9 +160,6 @@ func (c *Controller) CreateAlert(gctx *gin.Context) {
|
||||||
c.HandleDBErrors(gctx, err)
|
c.HandleDBErrors(gctx, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
for _, alert := range alertsToSend {
|
|
||||||
alert.MachineID = machineID
|
|
||||||
}
|
|
||||||
|
|
||||||
if c.CAPIChan != nil {
|
if c.CAPIChan != nil {
|
||||||
select {
|
select {
|
||||||
|
|
Loading…
Reference in a new issue