mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix docstring for InfoForObejct func
This commit is contained in:
parent
9ad982ef77
commit
5bec41d0b6
@ -87,7 +87,7 @@ func (m *Mapper) InfoForData(data []byte, source string) (*Info, error) {
|
||||
}, 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 mapping's MetadataAccessor can retrieve them.
|
||||
func (m *Mapper) InfoForObject(obj runtime.Object) (*Info, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user