config/allconfig: Throw error when output format is not defined

Fixes #13199
This commit is contained in:
Joe Mooring
2024-12-29 14:30:58 -05:00
committed by Bjørn Erik Pedersen
parent 77824d704c
commit eb1dbe0709
2 changed files with 19 additions and 1 deletions

View File

@@ -734,7 +734,7 @@ func (c *Configs) Validate(logger loggers.Logger) error {
// transientErr returns the last transient error found during config compilation.
func (c *Configs) transientErr() error {
for _, l := range c.LanguageConfigSlice {
for _, l := range c.LanguageConfigMap {
if l.C.transientErr != nil {
return l.C.transientErr
}