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

Do not drop source port

This commit is contained in:
Alena Prokharchyk
2019-12-12 13:33:43 -08:00
parent e0ab923a63
commit ee8822d1b9
2 changed files with 3 additions and 8 deletions

View File

@@ -514,8 +514,6 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
).
AddMapperForType(&Version, v1.ContainerPort{},
m.Move{From: "hostIP", To: "hostIp"},
m.Copy{From: "hostPort", To: "sourcePort"},
m.Drop{Field: "hostPort"},
).
AddMapperForType(&Version, v1.Handler{},
mapper.ContainerProbeHandler{}).