forked from rook/rook
We don't always get an error of the type "*exec.ExitError" so we must validate the type before printing it otherwise the interface conversion will fail. Signed-off-by: Sébastien Han <seb@redhat.com>
We don't always get an error of the type "*exec.ExitError" so we must validate the type before printing it otherwise the interface conversion will fail. Signed-off-by: Sébastien Han <seb@redhat.com>