Skip to content

Commit

Permalink
fix: remove noisy event for bucket exists (minio#2019)
Browse files Browse the repository at this point in the history
remove noisy event
  • Loading branch information
jiuker authored Mar 6, 2024
1 parent 3966cfa commit 0950410
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/controller/main-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1404,8 +1404,6 @@ 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 0950410

Please sign in to comment.