wtclient+server: unexport and rename TowerClient
Rename and unexport the `TowerClient` struct to `client` and rename the `TowerClientManager` interface to `ClientManager`.
This commit is contained in:
8 files changed
+80
-85
No files matched your search
@@ -560,10 +560,7 @@ func (h *testHarness) startClient() {
|
||||
Address: towerTCPAddr,
|
||||
}
|
||||
|
||||
h.clientMgr, err = wtclient.NewManager(h.clientCfg)
|
||||
require.NoError(h.t, err)
|
||||
|
||||
_, err = h.clientMgr.NewClient(h.clientPolicy)
|
||||
h.clientMgr, err = wtclient.NewManager(h.clientCfg, h.clientPolicy)
|
||||
require.NoError(h.t, err)
|
||||
require.NoError(h.t, h.clientMgr.Start())
|
||||
require.NoError(h.t, h.clientMgr.AddTower(towerAddr))
|
||||
|
||||
Reference in new issue
Block a user