Skip to content
This repository was archived by the owner on Sep 8, 2018. It is now read-only.

pkg/store: fix makeConcurrentFilteringReadClosers#42

Merged
peterbourgon merged 3 commits intomasterfrom
issue-41
Feb 17, 2017
Merged

pkg/store: fix makeConcurrentFilteringReadClosers#42
peterbourgon merged 3 commits intomasterfrom
issue-41

Conversation

@peterbourgon
Copy link
Copy Markdown
Member

If the constructor has a problem opening a segment, previously, the deferred cleanup function would attempt to close a nil io.ReadCloser. This panics and is probably bad. Fixes #41. Thanks, @wangkechun!

If the constructor has a problem opening a segment, previously, the
deferred cleanup function would attempt to close a nil io.ReadCloser.
This panics and is probably bad. Fixes #41. Thanks, @wangkechun!
@peterbourgon peterbourgon merged commit 6494692 into master Feb 17, 2017
@peterbourgon peterbourgon deleted the issue-41 branch February 17, 2017 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

panic

1 participant