From 34d49d1c94ed7efc3d58adc4af855cedd9b87f55 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 3a6131a7..7181715e 100644 --- a/apis/project.cattle.io/v3/schema/schema.go +++ b/apis/project.cattle.io/v3/schema/schema.go @@ -526,7 +526,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"}, ).