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:
parent
49a7a24afc
commit
214e18f189
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user