remove duplication of RESTOptionsGetter for kube
This commit is contained in:
parent
9c3834e9c2
commit
5c9304e9c4
|
|
@ -47,7 +47,7 @@ const (
|
||||||
|
|
||||||
func newStorageFactory() genericapiserver.StorageFactory {
|
func newStorageFactory() genericapiserver.StorageFactory {
|
||||||
config := storagebackend.Config{
|
config := storagebackend.Config{
|
||||||
Prefix: genericoptions.DefaultEtcdPathPrefix,
|
Prefix: kubeoptions.DefaultEtcdPathPrefix,
|
||||||
ServerList: []string{"http://127.0.0.1:2379"},
|
ServerList: []string{"http://127.0.0.1:2379"},
|
||||||
Copier: api.Scheme,
|
Copier: api.Scheme,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue