Make getter names for reflector fields idiomatic

Kubernetes-commit: fdabcb5141094cb99afde24ec1df15026b4ba349
This commit is contained in:
Alexander Stephan 2024-10-13 20:53:25 +00:00 committed by Kubernetes Publisher
parent 64f5574f09
commit ce42c297f4

View File

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