From 1685eac08b37efb42df2d5a66c4d8bde168cb6e9 Mon Sep 17 00:00:00 2001 From: jiuker <2818723467@qq.com> Date: Fri, 6 Sep 2024 06:54:05 +0800 Subject: [PATCH] Update pkg/controller/main-controller.go Co-authored-by: Pedro Juarez --- pkg/controller/main-controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/main-controller.go b/pkg/controller/main-controller.go index 3c7f197af04..aeb4e1c3d50 100644 --- a/pkg/controller/main-controller.go +++ b/pkg/controller/main-controller.go @@ -807,7 +807,7 @@ func (c *Controller) syncHandler(key string) (Result, error) { // Check if the Tenant is marked to be deleted // Shouldn't create resources when marked for deletion if !tenant.DeletionTimestamp.IsZero() { - runtime.HandleError(fmt.Errorf("Tenant '%s' is marked for deletion", key)) + runtime.HandleError(fmt.Errorf("Tenant '%s' is marked for deletion, skipping", key)) return WrapResult(Result{}, nil) }