Skip to content

Commit

Permalink
Cleanup versioning serializer
Browse files Browse the repository at this point in the history
Kubernetes-commit: c2140d7ce106f958a91d663590294aab8082fc8b
  • Loading branch information
wojtek-t authored and k8s-publishing-bot committed Jul 19, 2019
1 parent 0bb8574 commit 5211412
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/runtime/serializer/versioning/versioning.go
Expand Up @@ -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

0 comments on commit 5211412

Please sign in to comment.