mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #128035 from alexanderstephan/export-reflector
Make getter names for reflector fields idiomatic
This commit is contained in:
commit
4dc7a48ac6
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user