k9s/cmd
Petr Svoboda 072217b317 Use a discarding writer for klog output
Configure klog to write messages to a discarding writer instead of
writing them to /dev/null.

The change does not affect klog behavior for the stderrthreshold flag.

It fixes crashes when runing on a platform without /dev/null device (for
example on Windows). The klog will exit the program if /dev/null file
cannot be open.

Fixes derailed/k9#703
2020-05-07 23:17:30 +02:00
..
info.go reworked pulses view 2020-03-02 23:28:07 -07:00
root.go Use a discarding writer for klog output 2020-05-07 23:17:30 +02:00
version.go checkpoint 2020-03-23 08:01:19 -06:00