Skip to content

Commit

Permalink
Update internal/controller/bucket/versioningconfiguration.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 747f834 commit f3f37af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/bucket/versioningconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (l *VersioningConfigurationClient) 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 f3f37af

Please sign in to comment.