fix a typo in contributors/devel/controllers.md

This commit is contained in:
Wei Huang 2018-07-06 23:30:18 -07:00
parent 9eaa32e5a1
commit 7ca22a5a72
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ type Controller struct {
func NewController(pods informers.PodInformer) *Controller {
c := &Controller{
pods: pods.Lister(),
podsSynced pods.Informer().HasSynced,
podsSynced: pods.Informer().HasSynced,
queue: workqueue.NewNamedRateLimitingQueue(workqueue.DefaultControllerRateLimiter(), "controller-name"),
}