Fix godoc typos.

Methods got renamed, but the godoc didn't.

Test: m droid dist
Change-Id: Ia1181a2c7a876e54b8cd26ba1c91ce731ba8ac96
This commit is contained in:
Bob Badour
2023-06-15 16:26:21 -07:00
parent 5c73eb33db
commit a0b53ceac2

View File

@@ -63,12 +63,12 @@ func (pm *ProjectMetadata) Project() string {
return pm.project
}
// ProjectName returns the name of the project.
// Name returns the name of the project.
func (pm *ProjectMetadata) Name() string {
return pm.proto.GetName()
}
// ProjectVersion returns the version of the project if available.
// Version returns the version of the project if available.
func (pm *ProjectMetadata) Version() string {
tp := pm.proto.GetThirdParty()
if tp != nil {