From 75dbce574b94781da7d273c5898c839894e988da Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Mon, 1 Jul 2019 16:58:22 -0700 Subject: [PATCH] Cleanup sonobuoy logging --- scripts/sonobuoy | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/sonobuoy b/scripts/sonobuoy index 1a291af1dd..cff0b52494 100755 --- a/scripts/sonobuoy +++ b/scripts/sonobuoy @@ -53,10 +53,8 @@ dump-logs() { for container in ${CONTAINERS}; do docker cp ${container}:/var/lib/rancher/k3s/agent/containerd/containerd.log ${OUTPUT}/${container}-containerd.log docker logs ${container} >${OUTPUT}/${container}.log 2>&1 - if [ ${exit_status} -ne 0 ]; then - cat ${OUTPUT}/${container}-containerd.log - cat ${OUTPUT}/${container}.log - fi + cat ${OUTPUT}/${container}-containerd.log + cat ${OUTPUT}/${container}.log done }