From 769d8116d5e4dddc2ab19ef3b2eb80264f2fd910 Mon Sep 17 00:00:00 2001 From: Oleg Sheynin Date: Thu, 13 Jun 2024 18:17:13 -0400 Subject: [PATCH] fix --- release_version.txt | 2 +- scripts/healthcheck/storage_health_check.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/release_version.txt b/release_version.txt index c260919..a584aef 100644 --- a/release_version.txt +++ b/release_version.txt @@ -1 +1 @@ -0.8.2.1 +0.8.2.2 diff --git a/scripts/healthcheck/storage_health_check.sh b/scripts/healthcheck/storage_health_check.sh index 1f361e3..6f376ea 100755 --- a/scripts/healthcheck/storage_health_check.sh +++ b/scripts/healthcheck/storage_health_check.sh @@ -39,6 +39,7 @@ TempFiles= function cleanup { if [ "" != "${TempFiles}" ]; then + echo rm -f ${TempFiles} rm -f ${TempFiles} fi } @@ -118,11 +119,10 @@ cat ${tmpfile} | ${Sender} ${StatusChannel} Measurements=() tmpfile=$(new_tempfile) space_alert > ${tmpfile} -cat ${tmpfile} if [ -s ${tmpfile} ] then (echo "### :card_file_box: STORAGE ALERTS" && cat ${tmpfile}) | ${Sender} ${AlertChannel} else - echo File ${tmpfile} is empty + echo "No Storage Alerts" fi