From acda634a297d0ff1fe2eaeecea9723c18d97d07e Mon Sep 17 00:00:00 2001 From: kinarashah Date: Thu, 20 Dec 2018 20:20:21 -0800 Subject: [PATCH] correct toleration field name --- apis/project.cattle.io/v3/schema/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/project.cattle.io/v3/schema/schema.go b/apis/project.cattle.io/v3/schema/schema.go index 7a334da6..7f0c0c91 100644 --- a/apis/project.cattle.io/v3/schema/schema.go +++ b/apis/project.cattle.io/v3/schema/schema.go @@ -510,7 +510,7 @@ func podTypes(schemas *types.Schemas) *types.Schemas { AddMapperForType(&Version, v1.PodSpec{}, mapper.InitContainerMapper{}, mapper.SchedulingMapper{}, - m.Move{From: "tolerations", To: "scheduling/tolerations", DestDefined: true}, + m.Move{From: "tolerations", To: "scheduling/tolerate", DestDefined: true}, &m.Embed{Field: "securityContext"}, &m.Drop{Field: "serviceAccount"}, ).