apiserver/pkg/util/flowcontrol/fairqueuing
Patrick Ohly ba3b8e9322 enhance and fix log calls
Some of these changes are cosmetic (repeatedly calling klog.V instead of
reusing the result), others address real issues:

- Logging a message only above a certain verbosity threshold without
  recording that verbosity level (if klog.V().Enabled() { klog.Info... }):
  this matters when using a logging backend which records the verbosity
  level.

- Passing a format string with parameters to a logging function that
  doesn't do string formatting.

All of these locations where found by the enhanced logcheck tool from
https://github.com/kubernetes/klog/pull/297.

In some cases it reports false positives, but those can be suppressed with
source code comments.

Kubernetes-commit: edffc700a43e610f641907290a5152ca593bad79
2022-02-16 12:17:47 +01:00
..
eventclock Some cleanup of the package for event clocks 2021-08-06 02:06:43 -04:00
promise Refactor goroutine counting 2021-07-29 00:35:25 -04:00
queueset enhance and fix log calls 2022-02-16 12:17:47 +01:00
testing avoid klog Info calls without verbosity 2021-12-11 12:10:21 +01:00
integrator.go Factored TimedObserver into less surprising pieces 2021-11-15 14:59:30 -05:00
integrator_test.go Factored TimedObserver into less surprising pieces 2021-11-15 14:59:30 -05:00
interface.go Factored TimedObserver into less surprising pieces 2021-11-15 14:59:30 -05:00