mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
remove unused function
This commit is contained in:
parent
04df1f562b
commit
02b8d5073c
@ -289,14 +289,6 @@ func startMasterOrDie(masterConfig *master.Config, incomingServer *httptest.Serv
|
|||||||
return m, s, closeFn
|
return m, s, closeFn
|
||||||
}
|
}
|
||||||
|
|
||||||
func parseCIDROrDie(cidr string) *net.IPNet {
|
|
||||||
_, parsed, err := net.ParseCIDR(cidr)
|
|
||||||
if err != nil {
|
|
||||||
glog.Fatalf("error while parsing CIDR: %s", cidr)
|
|
||||||
}
|
|
||||||
return parsed
|
|
||||||
}
|
|
||||||
|
|
||||||
// Returns a basic master config.
|
// Returns a basic master config.
|
||||||
func NewMasterConfig() *master.Config {
|
func NewMasterConfig() *master.Config {
|
||||||
// This causes the integration tests to exercise the etcd
|
// This causes the integration tests to exercise the etcd
|
||||||
|
Loading…
Reference in New Issue
Block a user