Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
73b7d998c0 | |||
3592052ac9 |
4
http.go
4
http.go
@@ -1,5 +1,5 @@
|
||||
// Package http provides a http client
|
||||
package http
|
||||
package http // import "go.unistack.org/micro-client-http/v3"
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
@@ -166,7 +166,7 @@ func newRequest(ctx context.Context, addr string, req client.Request, ct string,
|
||||
|
||||
for km, vm := range parameters {
|
||||
for k, required := range vm {
|
||||
v, err = rutil.StructFieldByPath(nmsg, k)
|
||||
v, err = rutil.StructFieldByPath(msg, k)
|
||||
if err != nil {
|
||||
return nil, errors.BadRequest("go.micro.client", err.Error())
|
||||
}
|
||||
|
Reference in New Issue
Block a user