1
0
mirror of https://github.com/rancher/types.git synced 2025-09-19 00:46:53 +00:00

update loggong schema not to use pointer in mapper

This commit is contained in:
Aiwantaozi
2018-02-16 15:16:31 +08:00
parent 9023aa6af4
commit 90f373fc97

View File

@@ -295,9 +295,9 @@ func projectNetworkPolicyTypes(schema *types.Schemas) *types.Schemas {
func logTypes(schema *types.Schemas) *types.Schemas {
return schema.
AddMapperForType(&Version, &v3.ClusterLogging{},
AddMapperForType(&Version, v3.ClusterLogging{},
m.DisplayName{}).
AddMapperForType(&Version, &v3.ProjectLogging{},
AddMapperForType(&Version, v3.ProjectLogging{},
m.DisplayName{}).
MustImport(&Version, v3.ClusterLogging{}).
MustImport(&Version, v3.ProjectLogging{})