Skip to content

Commit

Permalink
feat(plugins): vendorize Traefik & Tyk
Browse files Browse the repository at this point in the history
  • Loading branch information
darkweak committed Mar 11, 2024
1 parent 7d2b41f commit 297b93d
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion plugins/traefik/override/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func NewHTTPCacheHandler(c configurationtypes.AbstractConfigurationInterface) *S
}
fmt.Println("Storers initialized.")
regexpUrls := helpers.InitializeRegexp(c)
surrogateStorage := surrogate.InitializeSurrogate(c)
surrogateStorage := surrogate.InitializeSurrogate(c, storers[0].Name())
fmt.Println("Surrogate storage initialized.")
var excludedRegexp *regexp.Regexp = nil
if c.GetDefaultCache().GetRegex().Exclude != "" {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/tyk/override/middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func NewHTTPCacheHandler(c configurationtypes.AbstractConfigurationInterface) *S
}
c.GetLogger().Debug("Storer initialized.")
regexpUrls := helpers.InitializeRegexp(c)
surrogateStorage := surrogate.InitializeSurrogate(c)
surrogateStorage := surrogate.InitializeSurrogate(c, storers[0].Name())
c.GetLogger().Debug("Surrogate storage initialized.")
var excludedRegexp *regexp.Regexp = nil
if c.GetDefaultCache().GetRegex().Exclude != "" {
Expand Down

0 comments on commit 297b93d

Please sign in to comment.