Commit eef143ba authored by AdoHe's avatar AdoHe

scheduler remove init method

parent 0bea8ca3
......@@ -15,7 +15,6 @@ go_binary(
srcs = ["scheduler.go"],
tags = ["automanaged"],
deps = [
"//pkg/healthz:go_default_library",
"//pkg/util/flag:go_default_library",
"//pkg/util/logs:go_default_library",
"//pkg/version/verflag:go_default_library",
......
......@@ -17,7 +17,6 @@ limitations under the License.
package main
import (
"k8s.io/kubernetes/pkg/healthz"
"k8s.io/kubernetes/pkg/util/flag"
"k8s.io/kubernetes/pkg/util/logs"
"k8s.io/kubernetes/pkg/version/verflag"
......@@ -27,10 +26,6 @@ import (
"github.com/spf13/pflag"
)
func init() {
healthz.DefaultHealthz()
}
func main() {
s := options.NewSchedulerServer()
s.AddFlags(pflag.CommandLine)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment