Skip to content

Commit 8130fd7

Browse files
Copilotbdehamer
andauthored
fix: use DeletionHandlingMetaNamespaceKeyFunc in DeleteFunc for tombstone support (#70)
* Initial plan * fix: use DeletionHandlingMetaNamespaceKeyFunc in DeleteFunc for tombstone support Co-authored-by: bdehamer <398027+bdehamer@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/deployment-tracker/sessions/620a8570-c815-4b5f-95cd-25d107fcd82a --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: bdehamer <398027+bdehamer@users.noreply.github.com>
1 parent b3d9853 commit 8130fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (c *Controller) registerEventHandlers() error {
103103
return
104104
}
105105

106-
key, err := cache.MetaNamespaceKeyFunc(obj)
106+
key, err := cache.DeletionHandlingMetaNamespaceKeyFunc(obj)
107107
// For our purposes, there are in practice
108108
// no error event we care about, so don't
109109
// bother with handling it.

0 commit comments

Comments
 (0)