Scheduler extension
This commit is contained in:
@@ -235,7 +235,8 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"daemon": &extensions.DaemonSet{},
|
||||
},
|
||||
"../examples": {
|
||||
"scheduler-policy-config": &schedulerapi.Policy{},
|
||||
"scheduler-policy-config": &schedulerapi.Policy{},
|
||||
"scheduler-policy-config-with-extender": &schedulerapi.Policy{},
|
||||
},
|
||||
"../examples/rbd/secret": {
|
||||
"ceph-secret": &api.Secret{},
|
||||
@@ -409,7 +410,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
t.Logf("skipping : %s/%s\n", path, name)
|
||||
return
|
||||
}
|
||||
if name == "scheduler-policy-config" {
|
||||
if strings.Contains(name, "scheduler-policy-config") {
|
||||
if err := schedulerapilatest.Codec.DecodeInto(data, expectedType); err != nil {
|
||||
t.Errorf("%s did not decode correctly: %v\n%s", path, err, string(data))
|
||||
return
|
||||
|
Reference in New Issue
Block a user