Skip to content

Commit eef143b

Browse files
committed
scheduler remove init method
1 parent 0bea8ca commit eef143b

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

plugin/cmd/kube-scheduler/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ go_binary(
1515
srcs = ["scheduler.go"],
1616
tags = ["automanaged"],
1717
deps = [
18-
"//pkg/healthz:go_default_library",
1918
"//pkg/util/flag:go_default_library",
2019
"//pkg/util/logs:go_default_library",
2120
"//pkg/version/verflag:go_default_library",

plugin/cmd/kube-scheduler/scheduler.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ limitations under the License.
1717
package main
1818

1919
import (
20-
"k8s.io/kubernetes/pkg/healthz"
2120
"k8s.io/kubernetes/pkg/util/flag"
2221
"k8s.io/kubernetes/pkg/util/logs"
2322
"k8s.io/kubernetes/pkg/version/verflag"
@@ -27,10 +26,6 @@ import (
2726
"github.com/spf13/pflag"
2827
)
2928

30-
func init() {
31-
healthz.DefaultHealthz()
32-
}
33-
3429
func main() {
3530
s := options.NewSchedulerServer()
3631
s.AddFlags(pflag.CommandLine)

0 commit comments

Comments
 (0)