kubernetes/cmd/kubeadm/app/util/users
Patrick Ohly edffc700a4 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.
2022-03-24 11:13:50 +01:00
..
users_linux_test.go replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
users_linux.go enhance and fix log calls 2022-03-24 11:13:50 +01:00
users_other.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00