Update old glog references to klog

Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
This commit is contained in:
Eddie Zaneski 2019-10-09 17:03:36 -06:00
parent af31c5f975
commit f5a729b443
No known key found for this signature in database
GPG Key ID: 10A78D45D5A86448
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ Guide](http://kubernetes.io/docs/admin/).
* **Hunting flaky tests** ([flaky-tests.md](sig-testing/flaky-tests.md)): We have a goal of 99.9% flake free tests.
Here's how to run your tests many times.
* **Logging Conventions** ([logging.md](sig-instrumentation/logging.md)): Glog levels.
* **Logging Conventions** ([logging.md](sig-instrumentation/logging.md)): klog levels.
* **Profiling Kubernetes** ([profiling.md](sig-scalability/profiling.md)): How to plug in go pprof profiler to Kubernetes.

View File

@ -123,7 +123,7 @@ func (c *Controller) Run(threadiness int, stopCh chan struct{}) {
// make sure the work queue is shutdown which will trigger workers to end
defer c.queue.ShutDown()
glog.Infof("Starting <NAME> controller")
klog.Infof("Starting <NAME> controller")
// wait for your secondary caches to fill before starting your work
if !cache.WaitForCacheSync(stopCh, c.podsSynced) {
@ -140,7 +140,7 @@ func (c *Controller) Run(threadiness int, stopCh chan struct{}) {
// wait until we're told to stop
<-stopCh
glog.Infof("Shutting down <NAME> controller")
klog.Infof("Shutting down <NAME> controller")
}
func (c *Controller) runWorker() {