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

fix nil panic in confighttp #5628

Merged
merged 7 commits into from
Jul 19, 2022

Conversation

fatsheep9146
Copy link
Contributor

Signed-off-by: Ziqi Zhao [email protected]

Description: <Describe what has changed.
fix #5556

Link to tracking Issue:
#5556

@fatsheep9146 fatsheep9146 requested review from a team and codeboten July 4, 2022 22:49
@codecov
Copy link

codecov bot commented Jul 4, 2022

Codecov Report

Merging #5628 (b289f0e) into main (c3a3160) will increase coverage by 0.05%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##             main    #5628      +/-   ##
==========================================
+ Coverage   91.53%   91.58%   +0.05%     
==========================================
  Files         192      192              
  Lines       11398    11399       +1     
==========================================
+ Hits        10433    10440       +7     
+ Misses        770      766       -4     
+ Partials      195      193       -2     
Impacted Files Coverage Δ
config/confighttp/compression.go 84.11% <81.81%> (+5.81%) ⬆️

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 c3a3160...b289f0e. Read the comment docs.

@fatsheep9146
Copy link
Contributor Author

Does this small pr need changelog? @jpkrohling

@jpkrohling
Copy link
Member

Yes, and a test.

Copy link
Member

@bogdandrutu bogdandrutu left a comment

Choose a reason for hiding this comment

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

@jpkrohling please also check that the new order of operations is ok.

@fatsheep9146
Copy link
Contributor Author

fatsheep9146 commented Jul 6, 2022

Yes, and a test.

Unit test and changelog are both added. @jpkrohling

config/confighttp/compression.go Show resolved Hide resolved
config/confighttp/compression.go Show resolved Hide resolved
config/confighttp/compression_test.go Show resolved Hide resolved
config/confighttp/compression_test.go Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@fatsheep9146
Copy link
Contributor Author

@jpkrohling @TylerHelmuth All comments are resolved, please help check those again :-)

Signed-off-by: Ziqi Zhao <[email protected]>
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.

Panic when exporting using otlphttp
4 participants