From 1047e8f635d3391844a0db5d847e108fb97e3ff7 Mon Sep 17 00:00:00 2001 From: Foysal Ahamed Date: Sat, 16 Nov 2024 18:20:57 +0100 Subject: [PATCH] :broom: Cleanup unnecessary comment --- automod/engine/persist.go | 2 -- 1 file changed, 2 deletions(-) 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)