mirror of
https://github.com/rancher/types.git
synced 2025-08-31 21:00:16 +00:00
add status mapper
This commit is contained in:
@@ -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{}).
|
||||
|
Reference in New Issue
Block a user