apiserver/pkg/registry/generic
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
..
registry enhance and fix log calls 2022-02-16 12:17:47 +01:00
rest Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/generic 2021-02-27 03:25:24 -05:00
testing Remove etcd2 storage backend 2018-10-01 16:48:14 -04:00
OWNERS OWNERS cleanup - Jan 2021 Week 1 2022-01-03 10:59:47 -05:00
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
matcher.go Mechanical move: pkg/genericapiserver -> k8s.io/apiserver 2017-02-13 07:36:41 -05:00
options.go Introduce storagebackend.ConfigForResource 2021-08-29 01:06:12 -04:00
storage_decorator.go Introduce storagebackend.ConfigForResource 2021-08-29 01:06:12 -04:00