Skip to content

Commit

Permalink
Update internal/controller/bucket/acl.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 053f989 commit 966f60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/bucket/acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (l *ACLClient) Observe(ctx context.Context, bucket *v1alpha1.Bucket, backen
if l.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 966f60c

Please sign in to comment.