mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-03-14 08:23:24 +08:00

This replaces the experimental logr v0.4 with the stable v1.1.0 release. This is a breaking API change for some users because: - Comparing logr.Logger against nil is not possible anymore: it's now a struct instead of an interface. Code which allows a nil logger should switch to *logr.Logger as type. - Logger implementations must be updated in lockstep. Instead of updating the forked zapr code in json.go, directly using the original go-logr/zapr is simpler and avoids duplication of effort. The updated zapr supports logging of numeric verbosity. Error messages don't have a verbosity (= always get logged), so "v" is not getting added to them anymore. Source code logging for panic messages got fixed so that it references the code with the invalid log call, not the json.go implementation. Finally, zapr includes additional information in its panic messages ("zap field", "ignored key", "invalid key"). Kubernetes-commit: cb6a65377775110631bc865acc06c3f957592813
22 lines
435 B
Modula-2
22 lines
435 B
Modula-2
// This is a generated file. Do not edit directly.
|
|
|
|
module k8s.io/sample-controller
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
k8s.io/api v0.0.0
|
|
k8s.io/apimachinery v0.0.0
|
|
k8s.io/client-go v0.0.0
|
|
k8s.io/code-generator v0.0.0
|
|
k8s.io/klog/v2 v2.20.0
|
|
)
|
|
|
|
replace (
|
|
k8s.io/api => ../api
|
|
k8s.io/apimachinery => ../apimachinery
|
|
k8s.io/client-go => ../client-go
|
|
k8s.io/code-generator => ../code-generator
|
|
k8s.io/sample-controller => ../sample-controller
|
|
)
|