From 7ed44ffad1eaf3ac9e82d680c81990ee5c2df72a Mon Sep 17 00:00:00 2001 From: yuanjize <1224500078@qq.com> Date: Thu, 21 Oct 2021 14:59:34 +0800 Subject: [PATCH] Fix function comment typo --- staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go b/staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go index 3e1fab1d110..215dcb11cc4 100644 --- a/staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go +++ b/staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go @@ -150,7 +150,7 @@ type NegotiatedSerializer interface { // EncoderForVersion returns an encoder that ensures objects being written to the provided // serializer are in the provided group version. EncoderForVersion(serializer Encoder, gv GroupVersioner) Encoder - // DecoderForVersion returns a decoder that ensures objects being read by the provided + // DecoderToVersion returns a decoder that ensures objects being read by the provided // serializer are in the provided group version by default. DecoderToVersion(serializer Decoder, gv GroupVersioner) Decoder }