fixup handler tests

This commit is contained in:
Asim Aslam 2020-04-12 14:29:38 +01:00 committed by Vasiliy Tolstov
parent a26b37aaf9
commit abbfa17a49

2
rpc.go
View File

@ -113,7 +113,7 @@ func (h *rpcHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
// micro client
c := h.opts.Service.Client()
c := h.opts.Client
// create context
cx := ctx.FromRequest(r)