mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	Merge pull request #28905 from mtaufen/codec_factory-fixup
Automatic merge from submit-queue Fix typo in pkg/runtime/serializer/codec_factory.go
This commit is contained in:
		@@ -215,7 +215,7 @@ func (f CodecFactory) UniversalDecoder(versions ...unversioned.GroupVersion) run
 | 
			
		||||
	return f.CodecForVersions(nil, f.universal, nil, versions)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// CodecFor creates a codec with the provided serializer. If an object is decoded and its group is not in the list,
 | 
			
		||||
// CodecForVersions creates a codec with the provided serializer. If an object is decoded and its group is not in the list,
 | 
			
		||||
// it will default to runtime.APIVersionInternal. If encode is not specified for an object's group, the object is not
 | 
			
		||||
// converted. If encode or decode are nil, no conversion is performed.
 | 
			
		||||
func (f CodecFactory) CodecForVersions(encoder runtime.Encoder, decoder runtime.Decoder, encode []unversioned.GroupVersion, decode []unversioned.GroupVersion) runtime.Codec {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user