Skip to content

Commit

Permalink
Merge pull request #1551 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1550-to-release-0.6

[release-0.6] ddsif: fix lost event handlers
  • Loading branch information
openshift-ci[bot] authored Jul 17, 2022
2 parents e87906f + c7913bc commit ef58658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/informer/informer.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (d *DynamicDiscoverySharedInformerFactory) AddEventHandler(handler GVREvent

handlers := d.handlers.Load().([]GVREventHandler)

var newHandlers []GVREventHandler
newHandlers := make([]GVREventHandler, len(handlers))
copy(newHandlers, handlers)

newHandlers = append(newHandlers, handler)
Expand Down

0 comments on commit ef58658

Please sign in to comment.