Add client header to rpcRequest header; issue #957 (#1378)

Co-authored-by: Asim Aslam <asim@aslam.me>
This commit is contained in:
0987363 2020-03-22 07:25:23 +08:00 committed by GitHub
parent d559587807
commit 87617be227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,6 +211,7 @@ func (s *service) call(ctx context.Context, router *router, sending *sync.Mutex,
method: req.msg.Method, method: req.msg.Method,
endpoint: req.msg.Endpoint, endpoint: req.msg.Endpoint,
body: req.msg.Body, body: req.msg.Body,
header: req.msg.Header,
} }
// only set if not nil // only set if not nil