1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 14:41:10 +01:00

Add --logging-format flag

Add k8s.io/component-base/config package
This commit is contained in:
Ali Farah
2020-09-26 23:29:16 +10:00
committed by Ali
parent 279f648e9a
commit 3ac0c408de
16 changed files with 313 additions and 33 deletions

View File

@@ -567,7 +567,10 @@ func TestDeschedulingInterval(t *testing.T) {
}
// By default, the DeschedulingInterval param should be set to 0, meaning Descheduler only runs once then exits
s := options.NewDeschedulerServer()
s, err := options.NewDeschedulerServer()
if err != nil {
t.Fatalf("Unable to initialize server: %v", err)
}
s.Client = clientSet
deschedulerPolicy := &api.DeschedulerPolicy{}