mirror of https://github.com/kubernetes/kops.git
apimachinery: remove copier
This commit is contained in:
parent
36fbf99631
commit
78346cd90a
|
|
@ -58,7 +58,6 @@ func NewCommandStartKopsServer(out, err io.Writer) *cobra.Command {
|
|||
o := &KopsServerOptions{
|
||||
Etcd: genericoptions.NewEtcdOptions(&storagebackend.Config{
|
||||
Prefix: defaultEtcdPathPrefix,
|
||||
Copier: apiserver.Scheme,
|
||||
Codec: nil,
|
||||
}),
|
||||
SecureServing: genericoptions.NewSecureServingOptions(),
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (*RES
|
|||
strategy := NewStrategy(scheme)
|
||||
|
||||
store := &genericregistry.Store{
|
||||
Copier: scheme,
|
||||
NewFunc: func() runtime.Object {
|
||||
return &kops.Cluster{}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (*RES
|
|||
strategy := NewStrategy(scheme)
|
||||
|
||||
store := &genericregistry.Store{
|
||||
Copier: scheme,
|
||||
NewFunc: func() runtime.Object {
|
||||
return &kops.InstanceGroup{}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue