1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 13:29:11 +01:00

bump to k8s 1.24-rc.0

This commit is contained in:
JaneLiuL
2022-04-21 08:45:59 +08:00
parent e5ed0540f2
commit ecbd10afe2
942 changed files with 31997 additions and 28908 deletions

View File

@@ -67,7 +67,7 @@ func NewDeschedulerCommand(out io.Writer) *cobra.Command {
if factory == nil {
klog.ClearLogger()
} else {
log, logrFlush := factory.Create(config.FormatOptions{})
log, logrFlush := factory.Create(config.LoggingConfiguration{})
defer logrFlush()
klog.SetLogger(log)
}
@@ -81,7 +81,7 @@ func NewDeschedulerCommand(out io.Writer) *cobra.Command {
healthz.InstallHandler(pathRecorderMux, healthz.NamedCheck("Descheduler", healthz.PingHealthz.Check))
stoppedCh, err := SecureServing.Serve(pathRecorderMux, 0, ctx.Done())
stoppedCh, _, err := SecureServing.Serve(pathRecorderMux, 0, ctx.Done())
if err != nil {
klog.Fatalf("failed to start secure server: %v", err)
return