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

Fix rescheduler server.

This commit is contained in:
Avesh Agarwal
2017-07-30 18:24:27 -04:00
parent b87cc3594c
commit b389610d57

View File

@@ -21,6 +21,7 @@ import (
"fmt"
"github.com/aveshagarwal/rescheduler/cmd/rescheduler/app/options"
"github.com/aveshagarwal/rescheduler/pkg/client"
//"github.com/golang/glog"
"github.com/spf13/cobra"
@@ -47,6 +48,7 @@ func NewReschedulerCommand() *cobra.Command {
return cmd
}
func Run(opt *options.ReschedulerServer) error {
func Run(rs *options.ReschedulerServer) error {
rs.Client = client.CreateClient(rs.KubeconfigFile)
return nil
}