mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Remove leagcy init that no longer works.
This commit is contained in:
parent
818dd4443d
commit
442713aaaf
@ -34,7 +34,6 @@ go_library(
|
||||
"//vendor:github.com/coreos/etcd/etcdserver/api/v2http",
|
||||
"//vendor:github.com/coreos/etcd/pkg/transport",
|
||||
"//vendor:github.com/coreos/etcd/pkg/types",
|
||||
"//vendor:github.com/coreos/pkg/capnslog",
|
||||
"//vendor:github.com/golang/glog",
|
||||
"//vendor:github.com/kardianos/osext",
|
||||
"//vendor:k8s.io/apiserver/pkg/util/feature",
|
||||
|
@ -27,17 +27,12 @@ import (
|
||||
"github.com/coreos/etcd/etcdserver/api/v2http"
|
||||
"github.com/coreos/etcd/pkg/transport"
|
||||
"github.com/coreos/etcd/pkg/types"
|
||||
"github.com/coreos/pkg/capnslog"
|
||||
"github.com/golang/glog"
|
||||
)
|
||||
|
||||
// TODO: These tests should not be leveraging v2http
|
||||
// TODO(random-liu): Add service interface to manage services with the same behaviour.
|
||||
|
||||
func init() {
|
||||
// github.com/coreos/etcd/etcdserver/api package is too spammy, set the log level to NOTICE.
|
||||
capnslog.MustRepoLogger("github.com/coreos/etcd/etcdserver/api").SetRepoLogLevel(capnslog.NOTICE)
|
||||
}
|
||||
|
||||
// All following configurations are got from etcd source code.
|
||||
// TODO(random-liu): Use embed.NewConfig after etcd3 is supported.
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user