Skip to content

[17.09] Don't filter nodes if logdriver==none or logdriver==""#2442

Merged
nishanttotla merged 3 commits into
moby:bump_v17.09from
nishanttotla:log-driver-plugin-filter-17.09
Nov 18, 2017
Merged

[17.09] Don't filter nodes if logdriver==none or logdriver==""#2442
nishanttotla merged 3 commits into
moby:bump_v17.09from
nishanttotla:log-driver-plugin-filter-17.09

Conversation

@nishanttotla
Copy link
Copy Markdown
Contributor

@nishanttotla nishanttotla commented Nov 13, 2017

This is a cherry-pick of #2396 and #2438 applied in that order.

git cherry-pick -s -x 9608c63711181bff3a33c71f763aedde2d3596ec
git cherry-pick -s -x 05c8675eeeece04daffec34c5f99769b560d2d0d

Cherry-picks were clean (when applied in order).

I had to also update vendoring by re-running vndr with the latest version.

cpuguy83 and others added 2 commits November 13, 2017 12:15
The "none" driver is a special keyword to disable logging, so don't
filter nodes if the "none" driver is not listed on the nodes, since it's
not really a driver and doesn't exist.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 9608c63)
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
(cherry picked from commit 05c8675)
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
@nishanttotla
Copy link
Copy Markdown
Contributor Author

Ping @vide @thaJeztah @cpuguy83 @anshulpundir

Copy link
Copy Markdown
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

Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 13, 2017

Codecov Report

Merging #2442 into bump_v17.09 will decrease coverage by 5.14%.
The diff coverage is 100%.

@@               Coverage Diff               @@
##           bump_v17.09    #2442      +/-   ##
===============================================
- Coverage        65.36%   60.21%   -5.15%     
===============================================
  Files               80      128      +48     
  Lines            14477    26154   +11677     
===============================================
+ Hits              9463    15749    +6286     
- Misses            4241     9016    +4775     
- Partials           773     1389     +616

Copy link
Copy Markdown
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

@nishanttotla nishanttotla merged commit 9f2ac09 into moby:bump_v17.09 Nov 18, 2017
@nishanttotla nishanttotla deleted the log-driver-plugin-filter-17.09 branch November 18, 2017 01:40
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.

4 participants