mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
move informer and controller to pkg/client/cache
Signed-off-by: Mike Danese <mikedanese@google.com>
This commit is contained in:
@@ -80,7 +80,7 @@ func (rc *RouteController) reconcileNodeRoutes() error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("error listing routes: %v", err)
|
||||
}
|
||||
// TODO (cjcullen): use pkg/controller/framework.NewInformer to watch this
|
||||
// TODO (cjcullen): use pkg/controller/cache.NewInformer to watch this
|
||||
// and reduce the number of lists needed.
|
||||
nodeList, err := rc.kubeClient.Core().Nodes().List(api.ListOptions{})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user