diff --git a/automod/engine/persist.go b/automod/engine/persist.go index 340576da0..cc0fbe234 100644 --- a/automod/engine/persist.go +++ b/automod/engine/persist.go @@ -316,12 +316,10 @@ func (eng *Engine) persistRecordModActions(c *RecordContext) error { if err != nil { return fmt.Errorf("failed to circuit break takedowns: %w", err) } - // @TODO: should we check for existing escalation? there doesn't seem to be an existing flag for this at record level newEscalation, err := eng.circuitBreakModAction(ctx, c.effects.RecordEscalate) if err != nil { return fmt.Errorf("circuit-breaking escalation: %w", err) } - // @TODO: should we check if the subject is already acked? there doesn't seem to be an existing flag for this at record level newAcknowledge, err := eng.circuitBreakModAction(ctx, c.effects.RecordAcknowledge) if err != nil { return fmt.Errorf("circuit-breaking acknowledge: %w", err)