mirror of
https://github.com/rancher/types.git
synced 2025-06-27 22:16:48 +00:00
add status mapper
This commit is contained in:
parent
71878a13b6
commit
be62d737d3
@ -355,6 +355,7 @@ func projectNetworkPolicyTypes(schema *types.Schemas) *types.Schemas {
|
||||
func logTypes(schema *types.Schemas) *types.Schemas {
|
||||
return schema.
|
||||
AddMapperForType(&Version, v3.ClusterLogging{},
|
||||
&m.Embed{Field: "status"},
|
||||
m.DisplayName{}).
|
||||
AddMapperForType(&Version, v3.ProjectLogging{},
|
||||
m.DisplayName{}).
|
||||
|
Loading…
Reference in New Issue
Block a user