mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #80362 from wojtek-t/cleanup_versioning_serializer
Cleanup versioning serializer
This commit is contained in:
commit
0fbfa755d3
@ -230,11 +230,3 @@ func (c *codec) Encode(obj runtime.Object, w io.Writer) error {
|
|||||||
// Conversion is responsible for setting the proper group, version, and kind onto the outgoing object
|
// Conversion is responsible for setting the proper group, version, and kind onto the outgoing object
|
||||||
return c.encoder.Encode(out, w)
|
return c.encoder.Encode(out, w)
|
||||||
}
|
}
|
||||||
|
|
||||||
// DirectEncoder was moved and renamed to runtime.WithVersionEncoder in 1.15.
|
|
||||||
// TODO: remove in 1.16.
|
|
||||||
type DirectEncoder = runtime.WithVersionEncoder
|
|
||||||
|
|
||||||
// DirectDecoder was moved and renamed to runtime.WithoutVersionDecoder in 1.15.
|
|
||||||
// TODO: remove in 1.16.
|
|
||||||
type DirectDecoder = runtime.WithoutVersionDecoder
|
|
||||||
|
Loading…
Reference in New Issue
Block a user