ceph-csi/cmd
Niels de Vos 7101a6dc8e cleanup: add logAndExit() for cephcsi:main() to call instead of panic
The main() function of the cephcsi executable calls klog.Fatalln() to
report certain errors. This causes the executable to panic which is not
helpful to users that only need the error message.

By introducing logAndExit(), there is no need to call klog.Fatalln()
anymore.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-10-28 09:37:36 +00:00
..
cephcsi.go cleanup: add logAndExit() for cephcsi:main() to call instead of panic 2020-10-28 09:37:36 +00:00