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 methods and not found handler for routes #163

Merged
merged 2 commits into from
Jun 2, 2020
Merged

Conversation

joe94
Copy link
Member

@joe94 joe94 commented Jun 1, 2020

No description provided.

@codecov
Copy link

codecov bot commented Jun 1, 2020

Codecov Report

Merging #163 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #163   +/-   ##
=======================================
  Coverage   77.54%   77.54%           
=======================================
  Files          11       11           
  Lines         432      432           
=======================================
  Hits          335      335           
  Misses         92       92           
  Partials        5        5           

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 b117f90...af6752a. Read the comment docs.

@@ -129,10 +129,6 @@ func tr1d1um(arguments []string) (exitCode int) {

r := mux.NewRouter()

r.NotFoundHandler = http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Reverting to original handling of unmatched routes. This will help to stay consistent throughout the different ways the API can be exercised (paths, method, etc.)

Copy link
Contributor

@kristinapathak kristinapathak left a comment

Choose a reason for hiding this comment

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

can you add this to the changelog?

@joe94 joe94 merged commit ee8ca43 into master Jun 2, 2020
@joe94 joe94 deleted the bugfix/routing branch June 2, 2020 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants