Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ec99d90b
Commit
ec99d90b
authored
Jul 13, 2016
by
k8s-merge-robot
Committed by
GitHub
Jul 13, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #28905 from mtaufen/codec_factory-fixup
Automatic merge from submit-queue Fix typo in pkg/runtime/serializer/codec_factory.go
parents
3dbc4db6
d3f3bedb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
codec_factory.go
pkg/runtime/serializer/codec_factory.go
+1
-1
No files found.
pkg/runtime/serializer/codec_factory.go
View file @
ec99d90b
...
@@ -215,7 +215,7 @@ func (f CodecFactory) UniversalDecoder(versions ...unversioned.GroupVersion) run
...
@@ -215,7 +215,7 @@ func (f CodecFactory) UniversalDecoder(versions ...unversioned.GroupVersion) run
return
f
.
CodecForVersions
(
nil
,
f
.
universal
,
nil
,
versions
)
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,
// CodecFor
Versions
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
// 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.
// 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
{
func
(
f
CodecFactory
)
CodecForVersions
(
encoder
runtime
.
Encoder
,
decoder
runtime
.
Decoder
,
encode
[]
unversioned
.
GroupVersion
,
decode
[]
unversioned
.
GroupVersion
)
runtime
.
Codec
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment