unify loki settings

This commit is contained in:
Vadim Stepanov committed 2025-07-15 14:04:16 +01:00
1 parent f8ca04bfee
commit 81f34b4cc5
8 files changed
+162 -153

No files matched your search

@@ -61,7 +61,7 @@ func NewLokiHistorianStore(cfg setting.UnifiedAlertingStateHistorySettings, db d
if !useStore(cfg) {
return nil
}
lokiCfg, err := historian.NewLokiConfig(cfg)
lokiCfg, err := lokiclient.NewLokiConfig(cfg.LokiSettings)
if err != nil {
// this config error is already handled elsewhere
return nil