diff --git a/internal/utils/decoders/decoders.go b/internal/utils/decoders/decoders.go index 28b72fb..0c3d22d 100644 --- a/internal/utils/decoders/decoders.go +++ b/internal/utils/decoders/decoders.go @@ -17,6 +17,10 @@ func normalizeKeys[T any](input map[string]string, root string, sep string) map[ key := strings.ToLower(k) key = strings.ReplaceAll(key, sep, "-") + if !strings.HasPrefix(key, root+"-") { + continue + } + suffix := "" for _, known := range knownKeys {