diff --git a/pkg/controller/application/application_controller.go b/pkg/controller/application/application_controller.go index d1355b9d4589000088b685ea7f8dcc0b8403a1cb..f69108e7e3cfc48d41d0644bccca302f25a60d5c 100644 --- a/pkg/controller/application/application_controller.go +++ b/pkg/controller/application/application_controller.go @@ -112,6 +112,7 @@ func NewApplicationController(serviceInformer coreinformers.ServiceInformer, deploymentInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: v.enqueueObject, + UpdateFunc: func(old, new interface{}) { v.enqueueObject(new) }, DeleteFunc: v.enqueueObject, }) @@ -120,6 +121,7 @@ func NewApplicationController(serviceInformer coreinformers.ServiceInformer, statefulSetInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: v.enqueueObject, + UpdateFunc: func(old, new interface{}) { v.enqueueObject(new) }, DeleteFunc: v.enqueueObject, }) @@ -128,6 +130,7 @@ func NewApplicationController(serviceInformer coreinformers.ServiceInformer, serviceInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: v.enqueueObject, + UpdateFunc: func(old, new interface{}) { v.enqueueObject(new) }, DeleteFunc: v.enqueueObject, }) @@ -136,6 +139,7 @@ func NewApplicationController(serviceInformer coreinformers.ServiceInformer, strategyInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: v.enqueueObject, + UpdateFunc: func(old, new interface{}) { v.enqueueObject(new) }, DeleteFunc: v.enqueueObject, }) @@ -144,6 +148,7 @@ func NewApplicationController(serviceInformer coreinformers.ServiceInformer, servicePolicyInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ AddFunc: v.enqueueObject, + UpdateFunc: func(old, new interface{}) { v.enqueueObject(new) }, DeleteFunc: v.enqueueObject, })