Merge pull request #13093 from hurf/nit

Fix docstring for InfoForObejct func
This commit is contained in:
Nikhil Jindal 2015-08-24 11:37:50 -07:00
commit 4c88aeeda2

View File

@ -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) {