chore: ensure first config access is through config manager
Some checks failed
Release Please / release-please (push) Has been cancelled
Build Snapshot Release / build (push) Has been cancelled
Build Snapshot Release / Windows installers (push) Has been cancelled
Test / test-nix (push) Has been cancelled
Test / test-win (push) Has been cancelled

This commit is contained in:
Gareth
2025-08-27 23:27:53 -07:00
parent da0ac093f1
commit 2560bde48c

View File

@@ -64,12 +64,11 @@ func main() {
go onterm(os.Interrupt, newForceKillHandler())
// Load the configuration
configStore := createConfigProvider()
cfg, err := configStore.Get()
configMgr := &config.ConfigManager{Store: createConfigProvider()}
cfg, err := configMgr.Get()
if err != nil {
zap.S().Fatalf("error loading config: %v", err)
}
configMgr := &config.ConfigManager{Store: configStore}
var wg sync.WaitGroup