mirror of
https://github.com/rancher/types.git
synced 2025-09-16 06:49:21 +00:00
Drop confusing clusterName from public API
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user