-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add CORS handling for Zipkin collector service, fixes #703 #1463
Conversation
Not entirely sure where to add tests, if any are needed at all? |
I don't think this PR needs to include Gopkg.lock changes.
What is the expected behavior of the cors handler? Does it reject certain types of requests? That's the type of test I would add. |
Codecov Report
@@ Coverage Diff @@
## master #1463 +/- ##
==========================================
+ Coverage 99.83% 99.83% +<.01%
==========================================
Files 179 179
Lines 8550 8554 +4
==========================================
+ Hits 8536 8540 +4
Misses 7 7
Partials 7 7
Continue to review full report at Codecov.
|
Removed.
I'm not sure where to add the tests. Where exactly does the main.go from the collector get tested? |
Ah, it's ok then. We should have a test for flags, but we don't test main aside from integration tests. Some steps in the build are failing though. |
@yurishkuro Well, the builds didn't fail before (https://travis-ci.org/jaegertracing/jaeger/builds/516424159) and I only removed the lock-file. Some inconsistency in the CI? |
Signed-off-by: Jonas Verhofsté <25819942+JonasVerhofste@users.noreply.github.com>
@yurishkuro So, seems like build 2 (proto gen) is failing because I removed |
ping @yurishkuro |
Let's see if merging master helps, as this step should not be failing (it doesn't in master) |
hmm, very odd, lock file comes up as a diff. Need to look into that. |
Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Yuri Shkuro <ys@uber.com>
ok, fixed it |
Ah, I see what's going on now. You're adding a new dependency |
Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Jonas Verhofsté 25819942+JonasVerhofste@users.noreply.github.com
Which problem is this PR solving?
Short description of the changes