Make report module overrides explicit

This commit is contained in:
2026-06-15 12:36:53 +00:00
parent 40b42f4bf3
commit 4fe0f40cef
5 changed files with 187 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ import (
)
func Validate(cfg Config) error {
if err := normalizeReportModules(&cfg); err != nil {
if err := validateReportModules(cfg); err != nil {
return err
}
if cfg.WeatherAPI.BaseURL != "" {