1
0
mirror of https://github.com/rancher/types.git synced 2025-08-01 21:07:41 +00:00

Drop confusing clusterName from public API

This commit is contained in:
Darren Shepherd 2018-01-18 16:48:24 -07:00
parent 49a7a24afc
commit 214e18f189

View File

@ -54,7 +54,9 @@ func clusterTypes(schemas *types.Schemas) *types.Schemas {
m.DisplayName{},
).
AddMapperForType(&Version, v3.ClusterStatus{},
m.Drop{Field: "serviceAccountToken"},
m.Drop{Field: "appliedSpec"},
m.Drop{Field: "clusterName"},
).
AddMapperForType(&Version, v3.ClusterEvent{}, &m.Move{
From: "type",