chore: refactor code (#5352)

This commit is contained in:
Kevin Wan
2025-12-23 22:29:52 +08:00
committed by GitHub
parent 52df1c532a
commit 35ba024103
4 changed files with 20 additions and 17 deletions

View File

@@ -158,7 +158,7 @@ func TestConfigCenterContainer(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
var changed bool
c := newConfigCenterContainer()
c := newContainer()
c.AddListener(func() {
changed = true
})