mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
Merge pull request #114920 from astefanutti/pr-codegen-144
fix: applyconfiguration-gen fails for types with non-builtin map fields
This commit is contained in:
commit
79886690d4
@ -86,6 +86,7 @@ func (t refGraph) applyConfigForType(field *types.Type) *types.Type {
|
||||
return &types.Type{
|
||||
Kind: types.Map,
|
||||
Elem: t.applyConfigForType(field.Elem),
|
||||
Key: t.applyConfigForType(field.Key),
|
||||
}
|
||||
}
|
||||
return field
|
||||
|
Loading…
Reference in New Issue
Block a user