mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #13093 from hurf/nit
Fix docstring for InfoForObejct func
This commit is contained in:
commit
4c88aeeda2
@ -87,7 +87,7 @@ func (m *Mapper) InfoForData(data []byte, source string) (*Info, error) {
|
|||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// InfoForData creates an Info object for the given Object. An error is returned
|
// InfoForObject creates an Info object for the given Object. An error is returned
|
||||||
// if the object cannot be introspected. Name and namespace will be set into Info
|
// if the object cannot be introspected. Name and namespace will be set into Info
|
||||||
// if the mapping's MetadataAccessor can retrieve them.
|
// if the mapping's MetadataAccessor can retrieve them.
|
||||||
func (m *Mapper) InfoForObject(obj runtime.Object) (*Info, error) {
|
func (m *Mapper) InfoForObject(obj runtime.Object) (*Info, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user