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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user