Skip to content

Commit 25edc42

Browse files
authored
Merge pull request kubernetes#131366 from xigang/resource_encoding
Fix typo in ResourceEncodingConfig comment
2 parents 4841bc9 + f844abf commit 25edc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apiserver/pkg/server/storage/resource_encoding_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
)
2828

2929
type ResourceEncodingConfig interface {
30-
// StorageEncoding returns the serialization format for the resource.
30+
// StorageEncodingFor returns the serialization format for the resource.
3131
// TODO this should actually return a GroupVersionKind since you can logically have multiple "matching" Kinds
3232
// For now, it returns just the GroupVersion for consistency with old behavior
3333
StorageEncodingFor(schema.GroupResource) (schema.GroupVersion, error)

0 commit comments

Comments
 (0)