Skip to content

Commit

Permalink
Merge pull request kubernetes#4160 from eddiezane/update-glog-refs-to…
Browse files Browse the repository at this point in the history
…-klog

Update old glog references to klog
  • Loading branch information
k8s-ci-robot authored Oct 9, 2019
2 parents b275bc7 + f5a729b commit 712590c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contributors/devel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions contributors/devel/sig-api-machinery/controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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() {
Expand Down

0 comments on commit 712590c

Please sign in to comment.