mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #92637 from phinphing/master
fix typo in runtime/interfaces.go
This commit is contained in:
commit
5d2907a5cc
@ -57,7 +57,7 @@ type Encoder interface {
|
|||||||
// Identifiers of two different encoders should be equal if and only if for every input
|
// Identifiers of two different encoders should be equal if and only if for every input
|
||||||
// object it will be encoded to the same representation by both of them.
|
// object it will be encoded to the same representation by both of them.
|
||||||
//
|
//
|
||||||
// Identifier is inteted for use with CacheableObject#CacheEncode method. In order to
|
// Identifier is intended for use with CacheableObject#CacheEncode method. In order to
|
||||||
// correctly handle CacheableObject, Encode() method should look similar to below, where
|
// correctly handle CacheableObject, Encode() method should look similar to below, where
|
||||||
// doEncode() is the encoding logic of implemented encoder:
|
// doEncode() is the encoding logic of implemented encoder:
|
||||||
// func (e *MyEncoder) Encode(obj Object, w io.Writer) error {
|
// func (e *MyEncoder) Encode(obj Object, w io.Writer) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user