Skip to content

Commit

Permalink
Update pkg/controller/main-controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Juarez <pjuarezd@users.noreply.github.com>
  • Loading branch information
jiuker and pjuarezd committed Sep 11, 2024
1 parent 76da435 commit 1685eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/main-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 1685eac

Please sign in to comment.