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

Remove deprecated collector flags #2751

Merged

Conversation

LostLaser
Copy link
Contributor

@LostLaser LostLaser commented Jan 31, 2021

Signed-off-by: Jacob Goldsworthy [email protected]

Which problem is this PR solving?

Short description of the changes

  • Removed the deprecated collectorHTTPPort flag and the associated warning flag collectorHTTPPortWarning
  • Separated the hostPort formatting from GetAddressFromCLIOptions into its' own function called FormatHostPort
  • Wrapped retrieval of the CollectorHTTPHostPort property with a call to FormatHostPort
  • Added tests for the FormatHostPort function

@LostLaser LostLaser requested a review from a team as a code owner January 31, 2021 06:48
@mergify mergify bot requested a review from jpkrohling January 31, 2021 06:48
@codecov
Copy link

codecov bot commented Jan 31, 2021

Codecov Report

Merging #2751 (b97b675) into master (5c4fe1f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2751   +/-   ##
=======================================
  Coverage   95.82%   95.83%           
=======================================
  Files         217      217           
  Lines        9656     9654    -2     
=======================================
- Hits         9253     9252    -1     
+ Misses        332      331    -1     
  Partials       71       71           
Impacted Files Coverage Δ
cmd/collector/app/builder_flags.go 100.00% <100.00%> (ø)
ports/ports.go 100.00% <100.00%> (ø)
cmd/query/app/server.go 95.68% <0.00%> (-1.44%) ⬇️
cmd/query/app/static_handler.go 96.77% <0.00%> (+1.61%) ⬆️
cmd/collector/app/server/zipkin.go 76.92% <0.00%> (+3.84%) ⬆️

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 165ac36...bc2993f. Read the comment docs.

@yurishkuro
Copy link
Member

editing description - this does not resolve #2738, only part of it

cmd/opentelemetry/go.sum Outdated Show resolved Hide resolved
cmd/collector/app/builder_flags.go Outdated Show resolved Hide resolved
@yurishkuro
Copy link
Member

please add a "breaking change" entry to the CHANGELOG

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Yuri Shkuro <[email protected]>
Signed-off-by: LostLaser <[email protected]>
@LostLaser LostLaser force-pushed the 2738-remove-deprecated-http-flag branch from b97b675 to a852658 Compare February 1, 2021 03:48
@yurishkuro yurishkuro changed the title Removing deprecated collectorHTTPPort from codebase Remove deprecated collector flags Feb 1, 2021
@yurishkuro yurishkuro merged commit 27cb88f into jaegertracing:master Feb 1, 2021
@yurishkuro yurishkuro mentioned this pull request Feb 1, 2021
7 tasks
@LostLaser LostLaser deleted the 2738-remove-deprecated-http-flag branch February 1, 2021 04:53
@yurishkuro
Copy link
Member

@LostLaser thank you!

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