1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-23 21:44:41 +02:00

rename wrap

This commit is contained in:
Asim
2015-12-23 00:02:42 +00:00
parent 0072b6e8f2
commit 651e9f8836
3 changed files with 8 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ type service struct {
func newService(opts ...Option) Service {
options := newOptions(opts...)
options.Client = &clientWrap{
options.Client = &clientWrapper{
options.Client,
context.Metadata{
HeaderPrefix + "From-Service": options.Server.Config().Name(),