mirror of
https://github.com/status-im/consul.git
synced 2025-02-08 20:05:09 +00:00
d0b87cd5d0
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.