From 33d6093dcfc7770fe6870557f7410f47ec0c8808 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Mon, 18 Dec 2017 17:08:01 -0700 Subject: [PATCH] Moving scheduling to pod --- apis/project.cattle.io/v3/schema/schema.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apis/project.cattle.io/v3/schema/schema.go b/apis/project.cattle.io/v3/schema/schema.go index 4a7ce61b..c05b4452 100644 --- a/apis/project.cattle.io/v3/schema/schema.go +++ b/apis/project.cattle.io/v3/schema/schema.go @@ -288,17 +288,17 @@ func podTypes(schemas *types.Schemas) *types.Schemas { MustImport(&Version, v1.Handler{}, handlerOverride{}). MustImport(&Version, v1.Probe{}, handlerOverride{}). MustImport(&Version, v1.Container{}, struct { - Scheduling *Scheduling Resources *Resources Environment map[string]string EnvironmentFrom []EnvironmentFrom InitContainer bool }{}). MustImport(&Version, v1.PodSpec{}, struct { - NodeName string `norman:"type=reference[node]"` - Net string - PID string - IPC string + Scheduling *Scheduling + NodeName string `norman:"type=reference[node]"` + Net string + PID string + IPC string }{}). MustImport(&Version, v1.Pod{}, projectOverride{}, struct { WorkloadID string `norman:"type=reference[workload]"`