1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 05:09:10 +00:00

Cleanup schema

This commit is contained in:
Darren Shepherd
2017-12-13 08:49:14 -07:00
parent 84196a0f47
commit 50ff898c3e
4 changed files with 13 additions and 12 deletions

View File

@@ -233,6 +233,7 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
).
AddMapperForType(&Version, v1.ContainerPort{},
m.Drop{Field: "name"},
m.Move{From: "hostIP", To: "hostIp"},
).
AddMapperForType(&Version, v1.VolumeMount{},
m.Enum{