mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-23 18:40:53 +00:00
component-base: enable JSON in example
This used to work and broken when making the JSON backend optional.
This commit is contained in:
parent
047a6b9f86
commit
8b240e284f
@ -25,6 +25,8 @@ import (
|
|||||||
|
|
||||||
"k8s.io/component-base/logs"
|
"k8s.io/component-base/logs"
|
||||||
"k8s.io/klog/v2"
|
"k8s.io/klog/v2"
|
||||||
|
|
||||||
|
_ "k8s.io/component-base/logs/json/register"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user