Skip to content

Commit

Permalink
Update internal/controller/bucket/policy.go
Browse files Browse the repository at this point in the history
Co-authored-by: Shunsuke Tokunaga <[email protected]>
  • Loading branch information
nolancon and Shunpoco authored Nov 4, 2024
1 parent 89d0044 commit 747f834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/bucket/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (p *PolicyClient) Observe(ctx context.Context, bucket *v1alpha1.Bucket, bac
if p.backendStore.GetBackendHealthStatus(backendName) == apisv1alpha1.HealthStatusUnhealthy {
// If a backend is marked as unhealthy, we can ignore it for now by returning NoAction.
// The backend may be down for some time and we do not want to block Create/Update/Delete
// calls on other backends. By returning NeedsUpdate here, we would never pass the Observe
// calls on other backends. By returning NoAction here, we would never pass the Observe
// phase until the backend becomes Healthy or Disabled.
observationChan <- NoAction

Expand Down

0 comments on commit 747f834

Please sign in to comment.