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

[tt-1924] Go plugins per method and path #3489

Merged
merged 19 commits into from
Apr 27, 2021
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove debugging
  • Loading branch information
joshblakeley authored Mar 24, 2021
commit fe806ff756df2485ed83a73870452a22283637d1
3 changes: 0 additions & 3 deletions gateway/mw_go_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ func (m *GoPluginMiddleware) goPluginConfigFromRequest(r *http.Request) {

found, perPathPerMethodGoPlugin := m.Spec.CheckSpecMatchesStatus(r, versionPaths, GoPlugin)
if found {
//fmt.Printf("%#v", m)
//fmt.Println()

m.handler = perPathPerMethodGoPlugin.(*GoPluginMiddleware).handler
m.Meta = perPathPerMethodGoPlugin.(*GoPluginMiddleware).Meta
m.Path = perPathPerMethodGoPlugin.(*GoPluginMiddleware).Path
Expand Down