mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
refactor scheduler factory to use plugin architecture style like credentialprovider and cloudprovider for configuring priority functions and fit predicates
This commit is contained in:
@@ -43,7 +43,7 @@ func TestCreate(t *testing.T) {
|
||||
defer server.Close()
|
||||
client := client.NewOrDie(&client.Config{Host: server.URL, Version: testapi.Version()})
|
||||
factory := NewConfigFactory(client)
|
||||
factory.Create(nil, nil)
|
||||
factory.Create()
|
||||
}
|
||||
|
||||
func TestCreateLists(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user