Skip to content

Commit

Permalink
Merge pull request kubernetes#28905 from mtaufen/codec_factory-fixup
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Fix typo in pkg/runtime/serializer/codec_factory.go
  • Loading branch information
k8s-merge-robot authored Jul 13, 2016
2 parents 3dbc4db + d3f3bed commit ec99d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/runtime/serializer/codec_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ec99d90

Please sign in to comment.