From 1ae7553744a8731115996e02c13fc9075369c17c Mon Sep 17 00:00:00 2001 From: Oksana Baranova Date: Tue, 6 Feb 2024 16:40:08 +0200 Subject: [PATCH] Revert "print error message regardless verbosity level" This reverts commit a4afaeda3720fdd31d40b66a92374b57010ff9e7. --- hack/lib/logging.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hack/lib/logging.sh b/hack/lib/logging.sh index 1fea5f9001e..15a286cea78 100644 --- a/hack/lib/logging.sh +++ b/hack/lib/logging.sh @@ -82,10 +82,6 @@ kube::log::error_exit() { local stack_skip="${3:-0}" stack_skip=$((stack_skip + 1)) - # Always print the error message, regardless of KUBE_VERBOSE value - kube::log::error "${message}" - - # Additional debug information printed if KUBE_VERBOSE is 4 or greater if [[ ${KUBE_VERBOSE} -ge 4 ]]; then local source_file=${BASH_SOURCE[${stack_skip}]} local source_line=${BASH_LINENO[$((stack_skip - 1))]}