We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab0695 commit d979108Copy full SHA for d979108
cla-backend-go/cmd/server.go
@@ -146,13 +146,12 @@ type combinedRepo struct {
146
147
// in cmd/server.go (top-level imports already use logrus)
148
func apiPathLogger(next http.Handler) http.Handler {
149
- return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
150
- log.Infof("LG:api-request-path:%s", r.URL.Path)
151
- next.ServeHTTP(w, r)
152
- })
+ return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ log.Infof("LG:api-request-path:%s", r.URL.Path)
+ next.ServeHTTP(w, r)
+ })
153
}
154
155
-
156
// server function called by environment specific server functions
157
func server(localMode bool) http.Handler {
158
f := logrus.Fields{
0 commit comments