Skip to content

Commit 0fbfa75

Browse files
authored
Merge pull request kubernetes#80362 from wojtek-t/cleanup_versioning_serializer
Cleanup versioning serializer
2 parents b22cbca + c2140d7 commit 0fbfa75

File tree

1 file changed

+0
-8
lines changed
  • staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning

1 file changed

+0
-8
lines changed

staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,3 @@ func (c *codec) Encode(obj runtime.Object, w io.Writer) error {
230230
// Conversion is responsible for setting the proper group, version, and kind onto the outgoing object
231231
return c.encoder.Encode(out, w)
232232
}
233-
234-
// DirectEncoder was moved and renamed to runtime.WithVersionEncoder in 1.15.
235-
// TODO: remove in 1.16.
236-
type DirectEncoder = runtime.WithVersionEncoder
237-
238-
// DirectDecoder was moved and renamed to runtime.WithoutVersionDecoder in 1.15.
239-
// TODO: remove in 1.16.
240-
type DirectDecoder = runtime.WithoutVersionDecoder

0 commit comments

Comments
 (0)