1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 12:48:45 +00:00

Drop new field in nodes

This commit is contained in:
Darren Shepherd
2018-10-24 16:29:59 -07:00
committed by Alena Prokharchyk
parent 5ba005b144
commit e23fa8b21a

View File

@@ -217,6 +217,7 @@ func nodeTypes(schemas *types.Schemas) *types.Schemas {
AddMapperForType(&Version, v3.NodeStatus{},
&m.Drop{Field: "nodeTemplateSpec"},
&m.Embed{Field: "internalNodeStatus"},
&m.Drop{Field: "config"},
&m.SliceMerge{From: []string{"conditions", "nodeConditions"}, To: "conditions"}).
AddMapperForType(&Version, v3.Node{},
&m.Embed{Field: "status"},