mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
integration/framework: remove unused NewEtcdStorage()
In integration/, framework.NewEtcdStorage() isn't used by any function.
This commit is contained in:
parent
635bc410a6
commit
29b46a2395
@ -48,10 +48,6 @@ func NewEtcdClient() etcd.Client {
|
|||||||
return client
|
return client
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewEtcdStorage() storage.Interface {
|
|
||||||
return etcdstorage.NewEtcdStorage(NewEtcdClient(), testapi.Default.Codec(), etcdtest.PathPrefix(), false)
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewAutoscalingEtcdStorage(client etcd.Client) storage.Interface {
|
func NewAutoscalingEtcdStorage(client etcd.Client) storage.Interface {
|
||||||
if client == nil {
|
if client == nil {
|
||||||
client = NewEtcdClient()
|
client = NewEtcdClient()
|
||||||
|
Loading…
Reference in New Issue
Block a user