Skip to content

Commit 6ebb9f0

Browse files
authored
Merge pull request #131 from astefanutti/pr-cherry-pick-114920
UPSTREAM: 114920: fix: applyconfiguration-gen fails on map to struct …
2 parents aaa28aa + 7b3b70f commit 6ebb9f0

File tree

1 file changed

+1
-0
lines changed
  • staging/src/k8s.io/code-generator/cmd/applyconfiguration-gen/generators

1 file changed

+1
-0
lines changed

staging/src/k8s.io/code-generator/cmd/applyconfiguration-gen/generators/refgraph.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ func (t refGraph) applyConfigForType(field *types.Type) *types.Type {
8686
return &types.Type{
8787
Kind: types.Map,
8888
Elem: t.applyConfigForType(field.Elem),
89+
Key: t.applyConfigForType(field.Key),
8990
}
9091
}
9192
return field

0 commit comments

Comments
 (0)