mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Rename Codec and ResourceVersioner to add Default in front, to allow for types of those names
This commit is contained in:
@@ -47,8 +47,8 @@ type SourceEtcd struct {
|
||||
func NewSourceEtcd(key string, client tools.EtcdClient, updates chan<- interface{}) *SourceEtcd {
|
||||
helper := tools.EtcdHelper{
|
||||
client,
|
||||
runtime.Codec,
|
||||
runtime.ResourceVersioner,
|
||||
runtime.DefaultCodec,
|
||||
runtime.DefaultResourceVersioner,
|
||||
}
|
||||
source := &SourceEtcd{
|
||||
key: key,
|
||||
|
Reference in New Issue
Block a user