Files
kubernetes/cmd
Patrick Ohly 4033e64bf1 kubelet: initialize logging even sooner, return error
After the removal of the dynamic kubelet configuration feature it became
possible to initialize logging directly after configuration parsing. The
advantage is that logs emitted by
kubeletconfigvalidation.ValidateKubeletConfiguration and
`klog.InfoS("unsupported configuration ...` already use the intended log
output.

After the code was originally added, Run was replaced by RunE. Taking advantage
of that and returning an error is cleaner.
2022-06-17 20:06:14 +02:00
..
2022-02-14 10:55:35 -07:00
2021-02-28 15:17:29 -08:00
2021-02-28 15:17:29 -08:00
2022-02-14 10:55:35 -07:00
2022-02-14 10:55:35 -07:00