Skip to content

Commit

Permalink
Revert "fix req.Interface() return nil."
Browse files Browse the repository at this point in the history
This reverts commit 90a1b34.
  • Loading branch information
maxinglun committed Apr 10, 2022
1 parent 141bb0a commit e64737b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/rpc_router.go
Expand Up @@ -557,7 +557,7 @@ func (router *router) ProcessMessage(ctx context.Context, msg Message) (err erro
}

// read the body into the handler request value
if err = cc.ReadBody(req.Addr().Interface()); err != nil {
if err = cc.ReadBody(req.Interface()); err != nil {
return err
}

Expand Down

0 comments on commit e64737b

Please sign in to comment.