client: ClientConfig -> Config
This commit is contained in:

committed by
Yicheng Qin

parent
2aecbaf165
commit
3b41b77cd7
@ -615,8 +615,8 @@ func (m *member) Terminate(t *testing.T) {
|
||||
}
|
||||
|
||||
func mustNewHTTPClient(t *testing.T, eps []string) client.SyncableHTTPClient {
|
||||
cc := client.ClientConfig{Transport: mustNewTransport(t), Endpoints: eps}
|
||||
c, err := client.New(cc)
|
||||
cfg := client.Config{Transport: mustNewTransport(t), Endpoints: eps}
|
||||
c, err := client.New(cfg)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user