Skip to content

Commit

Permalink
Update internal/controller/bucket/objectlockconfiguration.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 3f41caa commit 89d0044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/bucket/objectlockconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (l *ObjectLockConfigurationClient) Observe(ctx context.Context, bucket *v1a
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 89d0044

Please sign in to comment.