Skip to content

Commit

Permalink
Register all margin plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyaw Myint Thein committed Sep 21, 2021
1 parent 2cc35d4 commit 84ee3da
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions twirp.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ import (
"github.com/luraproject/lura/transport/http/client"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/proto"

_ "github.com/google/martian/body"
_ "github.com/google/martian/cookie"
_ "github.com/google/martian/fifo"
_ "github.com/google/martian/header"
_ "github.com/google/martian/martianurl"
_ "github.com/google/martian/port"
_ "github.com/google/martian/priority"
_ "github.com/google/martian/stash"
_ "github.com/google/martian/status"
)

type (
Expand Down Expand Up @@ -117,6 +127,8 @@ func NewConfiguredBackendFactory(l logging.Logger, ref func(*config.Backend) cli
return nil, err
}
}
default:
l.Error(result.Err, "parser.ResultError", result, remote.ExtraConfig)
}

request.Body.Close()
Expand Down

0 comments on commit 84ee3da

Please sign in to comment.