open-consul/agent/submatview
Daniel Nephin bda19cb71e submatview: remove notifyUpdateLocked from reset
This call appears to only be necessary because reset() was called from
NewMaterializer.

This commit has the constructor set a default value for updateCh, and
removes both the call to reset() from New(), and the call to
notifyUpdateLocked() from reset().

This should ensure that we do not notify the Fetch() call before we have new
values to report.
2020-10-06 13:22:02 -04:00
..
handler.go submatview: remove method receiver from handlers 2020-10-06 13:22:02 -04:00
materializer.go submatview: remove notifyUpdateLocked from reset 2020-10-06 13:22:02 -04:00