8000 daemon/logger/journald: simplify readers field by kolyshkin · Pull Request #37819 · moby/moby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

daemon/logger/journald: simplify readers field #37819

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

Merged
merged 1 commit into from
Sep 13, 2018

Conversation

kolyshkin
Copy link
Contributor

As in other similar drivers (jsonlog, local), use a set
(i.e. map[whatever]struct{}), making the code simpler.

While at it, make sure we remove the reader from the set
after calling ProducerGone() on it.

As in other similar drivers (jsonlog, local), use a set
(i.e. `map[whatever]struct{}`), making the code simpler.

While at it, make sure we remove the reader from the set
after calling `ProducerGone()` on it.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@codecov
Copy link
codecov bot commented Sep 11, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@77faf15). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master   #37819   +/-   ##
=========================================
  Coverage          ?   36.13%           
=========================================
  Files             ?      610           
  Lines             ?    45054           
  Branches          ?        0           
=========================================
  Hits              ?    16282           
  Misses            ?    26532           
  Partials          ?     2240

Copy link
Member
@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member
@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

4 participants
0