Skip to content

Commit 68b3412

Browse files
committed
fixup! Use Patch instead of Update for finalizer operations
Signed-off-by: Todd Short <[email protected]>
1 parent 938b40e commit 68b3412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/operator-controller/controllers/clusterextensionrevision_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ func Test_ClusterExtensionRevisionReconciler_Reconcile_Deletion(t *testing.T) {
506506
// Kubernetes deletes the object immediately. The fake client simulates
507507
// this behavior, so we expect a NotFound error.
508508
require.Error(t, err)
509-
require.True(t, client.IgnoreNotFound(err) == nil, "expected NotFound error, got: %v", err)
509+
require.NoError(t, client.IgnoreNotFound(err), "expected NotFound error, got: %v", err)
510510
},
511511
},
512512
{

0 commit comments

Comments
 (0)