From be62d737d35b70e67cd67fca61b3f17b2ae46b81 Mon Sep 17 00:00:00 2001 From: Aiwantaozi Date: Wed, 25 Apr 2018 17:51:20 +0800 Subject: [PATCH] add status mapper --- apis/management.cattle.io/v3/schema/schema.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/management.cattle.io/v3/schema/schema.go b/apis/management.cattle.io/v3/schema/schema.go index ed1585d4..ffc69e3b 100644 --- a/apis/management.cattle.io/v3/schema/schema.go +++ b/apis/management.cattle.io/v3/schema/schema.go @@ -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{}).