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

cmd/contour: remove hard-coded default log fields #2446

Merged
merged 2 commits into from
Apr 17, 2020

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Apr 17, 2020

The default JSON log fields are specified in envoy.DefaultFields. We
don't need to keep a copy of that list in the configuration defaults
because (*ListenerVisitorConfig) accesslogFields() will correctly
handle populating the default fields.

Signed-off-by: James Peach [email protected]

The default JSON log fields are specified in `envoy.DefaultFields`. We
don't need to keep a copy of that list in the configuration defaults
because `(*ListenerVisitorConfig) accesslogFields()` will correctly
handle populating the default fields.

Signed-off-by: James Peach <[email protected]>
@jpeach jpeach requested review from stevesloka and youngnick April 17, 2020 02:04
@codecov
Copy link

codecov bot commented Apr 17, 2020

Codecov Report

Merging #2446 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2446      +/-   ##
==========================================
- Coverage   76.79%   76.69%   -0.10%     
==========================================
  Files          68       68              
  Lines        5512     5489      -23     
==========================================
- Hits         4233     4210      -23     
  Misses       1182     1182              
  Partials       97       97              
Impacted Files Coverage Δ
cmd/contour/servecontext.go 91.48% <ø> (-1.68%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f4b7ff0...575f915. Read the comment docs.

Copy link
Member

@youngnick youngnick left a comment

Choose a reason for hiding this comment

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

LGTM

@stevesloka stevesloka merged commit 359181f into projectcontour:master Apr 17, 2020
@jpeach jpeach added this to the 1.5.0 milestone May 5, 2020
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.

3 participants