1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 15:46:31 +01:00

fix: add missing ForgetObject call in Alertmanager controller

Signed-off-by: Sanchit2662 <sanchit2662@gmail.com>
This commit is contained in:
Sanchit2662
2026-01-25 15:04:21 +05:30
parent b76c97db18
commit 93cb4d2b8d

View File

@@ -590,6 +590,7 @@ func (c *Operator) sync(ctx context.Context, key string) error {
// Check if the Alertmanager instance is marked for deletion.
if c.rr.DeletionInProgress(am) {
c.reconciliations.ForgetObject(key)
return nil
}