Skip to content

Commit

Permalink
fix: Infinite reconciliation for existing buckets (#1912)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishak87 committed Feb 21, 2024
1 parent a2660e0 commit 8964da7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controller/main-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,8 @@ func (c *Controller) syncHandler(key string) (Result, error) {
return WrapResult(Result{RequeueAfter: time.Second * 5}, err)
} else if create {
c.recorder.Event(tenant, corev1.EventTypeNormal, "BucketsCreated", "Buckets created")
} else {
c.recorder.Event(tenant, corev1.EventTypeNormal, "BucketsCreated", "Buckets already exist")
}
}

Expand Down

0 comments on commit 8964da7

Please sign in to comment.