mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #103951 from sdmodi/startinformer
Start the informerFactory in the ControllerContext
This commit is contained in:
commit
7e78af445a
@ -294,6 +294,7 @@ func startControllers(cloud cloudprovider.Interface, ctx genericcontrollermanage
|
|||||||
}
|
}
|
||||||
|
|
||||||
c.SharedInformers.Start(stopCh)
|
c.SharedInformers.Start(stopCh)
|
||||||
|
ctx.InformerFactory.Start(ctx.Stop)
|
||||||
|
|
||||||
select {}
|
select {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user