mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Typo in conversion Godoc
This commit is contained in:
parent
dc7e3d6601
commit
52b582271b
@ -220,7 +220,7 @@ func (s *Scheme) generateConvertMeta(srcVersion, destVersion string) *Meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// DataVersionAndKind will return the APIVersion and Kind of the given wire-format
|
// DataVersionAndKind will return the APIVersion and Kind of the given wire-format
|
||||||
// enconding of an API Object, or an error.
|
// encoding of an API Object, or an error.
|
||||||
func (s *Scheme) DataVersionAndKind(data []byte) (version, kind string, err error) {
|
func (s *Scheme) DataVersionAndKind(data []byte) (version, kind string, err error) {
|
||||||
return s.MetaFactory.Interpret(data)
|
return s.MetaFactory.Interpret(data)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user