style: replace GetConfig() with variable C_globalConfig

This commit is contained in:
2026-09-02 21:24:27 +08:00
parent bf4cdf0d88
commit 16341972af
13 changed files with 44 additions and 49 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ func main() {
// initControllers initializes and starts all configured controllers.
func initControllers() {
cfg := config.GetGlobalConfig()
cfg := config.C_globalConfig
mgr := controller.GetManager()
if mgr == nil {
return