mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
integration: support structured logging in "v2http"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
26b0c84d29
commit
d2e1484762
@ -839,7 +839,13 @@ func (m *member) Launch() error {
|
||||
for _, ln := range m.ClientListeners {
|
||||
hs := &httptest.Server{
|
||||
Listener: ln,
|
||||
Config: &http.Server{Handler: v2http.NewClientHandler(m.s, m.ServerConfig.ReqTimeout())},
|
||||
Config: &http.Server{
|
||||
Handler: v2http.NewClientHandler(
|
||||
m.Logger,
|
||||
m.s,
|
||||
m.ServerConfig.ReqTimeout(),
|
||||
),
|
||||
},
|
||||
}
|
||||
if m.ClientTLSInfo == nil {
|
||||
hs.Start()
|
||||
|
Loading…
x
Reference in New Issue
Block a user