Skip to content

Commit

Permalink
fix: Use DeletionHandlingMetaNamespaceKeyFunc in cron controller (arg…
Browse files Browse the repository at this point in the history
…oproj#4379)

Signed-off-by: Simon Behar <[email protected]>
  • Loading branch information
simster7 committed Oct 26, 2020
1 parent 99d33ee commit db5e28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/cron/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (cc *Controller) addWorkflowInformerHandler() {
}
},
DeleteFunc: func(obj interface{}) {
key, err := cache.MetaNamespaceKeyFunc(obj)
key, err := cache.DeletionHandlingMetaNamespaceKeyFunc(obj)
if err == nil {
cc.wfQueue.Add(key)
}
Expand Down

0 comments on commit db5e28e

Please sign in to comment.