mirror of https://github.com/hashicorp/consul
Browse Source
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.pull/8809/head
Daniel Nephin
4 years ago
1 changed files with 4 additions and 7 deletions
Loading…
Reference in new issue