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

tree: improve panic information when a catch-all wildcard conflict occurs #1529

Merged
merged 2 commits into from
Sep 21, 2018
Merged

Conversation

thinkerou
Copy link
Member

@thinkerou thinkerou commented Sep 4, 2018

sync httprouter patch: julienschmidt/httprouter#182

updated before:

panic: path segment '/foo' conflicts with existing wildcard '/*you' in path '/who/are/foo'

updated after:

panic: '/foo' in new path '/who/are/foo' conflicts with existing wildcard '/*you' in existing prefix '/who/are/*you'

@codecov
Copy link

codecov bot commented Sep 4, 2018

Codecov Report

Merging #1529 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1529      +/-   ##
==========================================
+ Coverage   99.05%   99.06%   +<.01%     
==========================================
  Files          39       39              
  Lines        1913     1919       +6     
==========================================
+ Hits         1895     1901       +6     
  Misses         14       14              
  Partials        4        4
Impacted Files Coverage Δ
tree.go 100% <100%> (ø) ⬆️

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 f2cd3fc...f4819c9. Read the comment docs.

@thinkerou
Copy link
Member Author

the pr need you merge @appleboy thanks!

@appleboy
Copy link
Member

@thinkerou OK waiting for travis service.

@thinkerou thinkerou merged commit a210eea into gin-gonic:master Sep 21, 2018
@thinkerou thinkerou deleted the hr-tree branch September 25, 2018 14:04
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.

2 participants