smi/handler: Remove hack to announce unupdated events
@@ -26,12 +26,7 @@ func (h handlers) updateFunc(oldObj, newObj interface{}) {
glog.V(level.Trace).Infof("[%s] Update event %+v", h.providerIdent, oldObj)
if reflect.DeepEqual(oldObj, newObj) {
glog.V(level.Trace).Info("Update event: no change")
- // TODO(shashank): This is a temporary hack to enable periodic updates
- // from the informers to propagate to xDS streams even if there is no
- // change. This is done to ensure that proxie's receive the updates
- // in case they register AFTER an event is generated in the system, in
- // which case they would miss the event.
- //return
+ return
}
h.announcements <- events.Event{
Type: events.Update,
