mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
changed fnID key for consistency in logs (#1324)
This commit is contained in:
@@ -45,7 +45,7 @@ func (s *syncResponseWriter) Status() int { return s.status }
|
||||
// handleFnInvokeCall executes the function, for router handlers
|
||||
func (s *Server) handleFnInvokeCall(c *gin.Context) {
|
||||
fnID := c.Param(api.ParamFnID)
|
||||
ctx, _ := common.LoggerWithFields(c.Request.Context(), logrus.Fields{"fnID": fnID})
|
||||
ctx, _ := common.LoggerWithFields(c.Request.Context(), logrus.Fields{"fn_id": fnID})
|
||||
c.Request = c.Request.WithContext(ctx)
|
||||
err := s.handleFnInvokeCall2(c)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user