Merge pull request #80362 from wojtek-t/cleanup_versioning_serializer

Cleanup versioning serializer
This commit is contained in:
Kubernetes Prow Robot 2019-07-19 07:09:11 -07:00 committed by GitHub
commit 0fbfa755d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
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