Replace klog with benchmark log in scheduler_perf

Signed-off-by: kerthcet <kerthcet@gmail.com>
This commit is contained in:
kerthcet
2022-11-09 09:11:55 +08:00
parent 95bd687a28
commit d6ffb47832
2 changed files with 18 additions and 17 deletions

View File

@@ -97,7 +97,7 @@ func mustSetupScheduler(b *testing.B, config *config.KubeSchedulerConfiguration)
var err error
config, err = newDefaultComponentConfig()
if err != nil {
klog.Fatalf("Error creating default component config: %v", err)
b.Fatalf("Error creating default component config: %v", err)
}
}