1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-03-03 15:22:30 +02:00

Revert "fix req.Interface() return nil."

This reverts commit 90a1b34195e07772fa6f2074e1cf22237ac2a87f.
This commit is contained in:
maxinglun 2022-04-10 10:41:14 +08:00
parent 141bb0a557
commit e64737b7da

View File

@ -557,7 +557,7 @@ func (router *router) ProcessMessage(ctx context.Context, msg Message) (err erro
} }
// read the body into the handler request value // 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 return err
} }