From 8555ebdd5ca165197d6c53c782985bcf72fbf45f Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 14 Jul 2021 22:16:01 +0300 Subject: [PATCH] remove debug Signed-off-by: Vasiliy Tolstov --- http.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/http.go b/http.go index 430e4bf..653b5fa 100644 --- a/http.go +++ b/http.go @@ -85,22 +85,22 @@ func newRequest(ctx context.Context, addr string, req client.Request, ct string, u, err = u.Parse(path) if err != nil { - return nil, errors.BadRequest("go.micro.client_v", err.Error()) + return nil, errors.BadRequest("go.micro.client", err.Error()) } path, nmsg, err := newPathRequest(u.Path, method, body, msg, tags) if err != nil { - return nil, errors.BadRequest("go.micro.client_a", err.Error()) + return nil, errors.BadRequest("go.micro.client", err.Error()) } u, err = url.Parse(fmt.Sprintf("%s://%s%s", scheme, host, path)) if err != nil { - return nil, errors.BadRequest("go.micro.client_t", err.Error()) + return nil, errors.BadRequest("go.micro.client", err.Error()) } b, err := cf.Marshal(nmsg) if err != nil { - return nil, errors.BadRequest("go.micro.client_e", err.Error()) + return nil, errors.BadRequest("go.micro.client", err.Error()) } var hreq *http.Request @@ -112,7 +112,7 @@ func newRequest(ctx context.Context, addr string, req client.Request, ct string, } if err != nil { - return nil, errors.BadRequest("go.micro.client_k", err.Error()) + return nil, errors.BadRequest("go.micro.client", err.Error()) } header := make(http.Header)