fix Header and Cookie fill
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
4aca8e1ce0
commit
93ce60f59c
2
http.go
2
http.go
@ -166,7 +166,7 @@ func newRequest(ctx context.Context, addr string, req client.Request, ct string,
|
|||||||
|
|
||||||
for km, vm := range parameters {
|
for km, vm := range parameters {
|
||||||
for k, required := range vm {
|
for k, required := range vm {
|
||||||
v, err = rutil.StructFieldByPath(nmsg, k)
|
v, err = rutil.StructFieldByPath(msg, k)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.BadRequest("go.micro.client", err.Error())
|
return nil, errors.BadRequest("go.micro.client", err.Error())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user