From 89d0044cf8247aef4def725888f830f35def9bce Mon Sep 17 00:00:00 2001 From: Conor Nolan Date: Mon, 4 Nov 2024 12:20:51 +0000 Subject: [PATCH] Update internal/controller/bucket/objectlockconfiguration.go Co-authored-by: Shunsuke Tokunaga --- internal/controller/bucket/objectlockconfiguration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/bucket/objectlockconfiguration.go b/internal/controller/bucket/objectlockconfiguration.go index ce777095..8680f739 100644 --- a/internal/controller/bucket/objectlockconfiguration.go +++ b/internal/controller/bucket/objectlockconfiguration.go @@ -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