Skip to content

Commit eab6a9a

Browse files
committed
forgot assigning struct field member
1 parent d5220d9 commit eab6a9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/controller/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ func (c *Controller) initSharedInformers() {
412412
})
413413

414414
// Kubernetes Nodes
415-
informers_core_v1.NewNodeInformer(c.KubeClient.Clientset, constants.QueueResyncPeriodNode,
415+
c.nodesInformer = informers_core_v1.NewNodeInformer(c.KubeClient.Clientset, constants.QueueResyncPeriodNode,
416416
cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})
417417

418418
c.nodesInformer.AddEventHandler(cache.ResourceEventHandlerFuncs{

0 commit comments

Comments
 (0)