Merge pull request #128035 from alexanderstephan/export-reflector

Make getter names for reflector fields idiomatic
This commit is contained in:
Kubernetes Prow Robot 2024-10-13 23:04:20 +01:00 committed by GitHub
commit 4dc7a48ac6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,11 +121,11 @@ type Reflector struct {
UseWatchList *bool
}
func (r *Reflector) GetName() string {
func (r *Reflector) Name() string {
return r.name
}
func (r *Reflector) GetTypeDescription() string {
func (r *Reflector) TypeDescription() string {
return r.typeDescription
}