优化代码

This commit is contained in:
刘祥超
2023-08-08 11:36:54 +08:00
parent 53f109861c
commit 8ac115f865
4 changed files with 7 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ func TestHTTPClientPool_Client(t *testing.T) {
Version: 2,
Addr: &serverconfigs.NetworkAddressConfig{Host: "127.0.0.1", PortRange: "1234"},
}
err := origin.Init(nil)
err := origin.Init(context.Background())
if err != nil {
t.Fatal(err)
}