Skip to content

Commit 7fe7ff2

Browse files
committed
already checked in the onAddOrUpdatey
Signed-off-by: Swati Gupta <[email protected]>
1 parent cc65465 commit 7fe7ff2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/compute-domain-controller/computedomain.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ func (m *ComputeDomainManager) Start(ctx context.Context) (rerr error) {
9999

100100
_, err = m.informer.AddEventHandler(cache.ResourceEventHandlerFuncs{
101101
AddFunc: func(obj any) {
102-
cd := obj.(*nvapi.ComputeDomain)
103-
klog.Infof("ComputeDomain %s/%s added to work queue", cd.Namespace, cd.Name)
104102
m.config.workQueue.Enqueue(obj, m.onAddOrUpdate)
105103
},
106104
UpdateFunc: func(oldObj, newObj any) {

0 commit comments

Comments
 (0)