mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #27020 from timstclair/manager
Automatic merge from submit-queue Rename **/manager.go for better logging Rename `pkg/kubelet/*/manager.go` to `pkg/kubelet/*/*_manager.go`. **Justification:** Our current logging library, [glog](https://github.com/golang/glog), logs the filename where the log was generated, but not the full path. Ex: ``` I0608 00:28:25.116905 2847 manager.go:1024] Started watching for new ooms in manager ``` We have too many files named `manager.go`, which makes it difficult to identify log messages originating from them: ```console $ find . -name "manager.go" ./pkg/kubelet/status/manager.go ./pkg/kubelet/dockertools/manager.go ./pkg/kubelet/eviction/manager.go ./pkg/kubelet/pod/manager.go ./pkg/kubelet/prober/manager.go ./vendor/github.com/vmware/govmomi/session/manager.go ./vendor/github.com/google/cadvisor/manager/manager.go ./vendor/github.com/coreos/go-oidc/key/manager.go ``` /cc @kubernetes/sig-node This change will probably invoke rebase hell, but now seems like a reasonable time for it (with less churn leading up to release).
This commit is contained in:
commit
faf1644ef8
Loading…
Reference in New Issue
Block a user