Change config.Plugins from pointers to objects

This commit is contained in:
drfish
2021-02-10 23:45:59 +08:00
parent 081f68d685
commit 74315f9c56
25 changed files with 352 additions and 599 deletions

View File

@@ -92,7 +92,7 @@ func initTestDisablePreemption(t *testing.T, nsPrefix string) *testutils.TestCon
prof := schedulerconfig.KubeSchedulerProfile{
SchedulerName: v1.DefaultSchedulerName,
Plugins: &schedulerconfig.Plugins{
PostFilter: &schedulerconfig.PluginSet{
PostFilter: schedulerconfig.PluginSet{
Disabled: []schedulerconfig.Plugin{
{Name: defaultpreemption.Name},
},