Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document error return value of WatchSet.WatchCtx #119

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented Feb 14, 2022

This PR attempts to clarify the godoc for WatchSet. Specifically I want to document that WatchSet.WatchCtx only returns an error if the context is what caused it to unblock. Consul depends on this behaviour, and we don't want it to change accidentally. I made a few other edits while I was reading over the docs. Happy to make changes if my first draft is not clear.

@dnephin dnephin merged commit ddc0516 into main Feb 15, 2022
@dnephin dnephin deleted the dnephin/docs-watch-set-errors branch February 15, 2022 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants