复用http.go里面的 g.client(),更新config.yml的注册方式, 更新jaeger链路追踪
This commit is contained in:
@@ -72,7 +72,7 @@ func doRequest(ctx context.Context, method string, url string, target any, data
|
||||
}
|
||||
defer func() {
|
||||
if err = response.Close(); err != nil {
|
||||
glog.Errorf(ctx, `%+v`, err)
|
||||
glog.Error(ctx, err)
|
||||
}
|
||||
}()
|
||||
result := response.ReadAll()
|
||||
|
||||
Reference in New Issue
Block a user