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

Return a useful error for etcd Lock when aborting the Lock operation instead of nil, nil #64

Merged
merged 1 commit into from
Sep 24, 2015

Conversation

abronan
Copy link
Contributor

@abronan abronan commented Sep 24, 2015

Not aligned with other backends (Consul client handles the stop chan directly and zookeeper does not take any stop chan), but kind of feels horrible to return nil, nil in this one...

Signed-off-by: Alexandre Beslic abronan@docker.com

…instead of nil, nil

Signed-off-by: Alexandre Beslic <abronan@docker.com>
@vieux
Copy link
Contributor

vieux commented Sep 24, 2015

LGTM

abronan added a commit that referenced this pull request Sep 24, 2015
Return a useful error for etcd Lock when aborting the Lock operation instead of nil, nil
@abronan abronan merged commit 32bbec8 into docker:master Sep 24, 2015
@vieux vieux deleted the etcd_abortlock_err branch September 24, 2015 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants