integration/framework: remove unused NewEtcdStorage()
In integration/, framework.NewEtcdStorage() isn't used by any function.
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user