mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17:41 +00:00
Merge pull request #23260 from hongchaodeng/fix
Auto commit by PR queue bot
This commit is contained in:
commit
0877263f32
@ -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