Skip to content

Commit

Permalink
Merge pull request #38 from krakend/deepsource-autofix-e5fe284f
Browse files Browse the repository at this point in the history
refactor: fix unused method receiver
  • Loading branch information
kpacha authored Jan 15, 2025
2 parents 9c569d4 + 3deba71 commit 9b8ec69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func NewStaticModifier(rootPath string) *StaticModifier {

// ModifyRequest marks the context to skip the roundtrip and downgrades any https requests
// to http.
func (s *StaticModifier) ModifyRequest(req *http.Request) error {
func (*StaticModifier) ModifyRequest(req *http.Request) error {
ctx := NewContext(req.Context())
ctx.SkipRoundTrip()

Expand Down

0 comments on commit 9b8ec69

Please sign in to comment.