From 59717e38cea118027ead2ce77962a3d6aa6b9811 Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Tue, 27 Feb 2024 12:24:10 +0800 Subject: [PATCH] fix: fix the component param pass error --- tools/component/component_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/component/component_test.go b/tools/component/component_test.go index 966533094..7fd46e9dd 100644 --- a/tools/component/component_test.go +++ b/tools/component/component_test.go @@ -34,7 +34,7 @@ func mockInitCfg() error { } func TestRedis(t *testing.T) { - conf, err := initCfg(defaultCfgPath) + conf, err := initCfg() conf.Redis.Address = []string{ "172.16.8.142:7000", //"172.16.8.142:7000", "172.16.8.142:7001", "172.16.8.142:7002", "172.16.8.142:7003", "172.16.8.142:7004", "172.16.8.142:7005",