mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #33645 from kargakis/remove-obsolete-pkg-name
Automatic merge from submit-queue cache: remove obsolete internal package name pkg/controller/framework is not a thing since https://github.com/kubernetes/kubernetes/pull/32718 @mikedanese @wojtek-t
This commit is contained in:
commit
4bda90e89c
2
pkg/client/cache/reflector.go
vendored
2
pkg/client/cache/reflector.go
vendored
@ -125,7 +125,7 @@ func NewNamedReflector(name string, lw ListerWatcher, expectedType interface{},
|
||||
|
||||
// internalPackages are packages that ignored when creating a default reflector name. These packages are in the common
|
||||
// call chains to NewReflector, so they'd be low entropy names for reflectors
|
||||
var internalPackages = []string{"kubernetes/pkg/client/cache/", "kubernetes/pkg/controller/framework/", "/runtime/asm_"}
|
||||
var internalPackages = []string{"kubernetes/pkg/client/cache/", "/runtime/asm_"}
|
||||
|
||||
// getDefaultReflectorName walks back through the call stack until we find a caller from outside of the ignoredPackages
|
||||
// it returns back a shortpath/filename:line to aid in identification of this reflector when it starts logging
|
||||
|
Loading…
Reference in New Issue
Block a user