aboutsummaryrefslogtreecommitdiffstats
path: root/check-health
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:57:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:57:47 +0200
commitb67b9ec1c17c47fca970449c13c6e94f42a1dcb6 (patch)
tree95a8834df649bf05a5ab3066be7804f52f81515b /check-health
parent5b2ea9b1a4f57bc7c61d06cd8b1e0a6452f031a8 (diff)
parent6fa15257003394d495f84a8dedebadfa8e1fa375 (diff)
Merge branch 'empty-array' into next
Diffstat (limited to 'check-health')
-rw-r--r--check-health4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-health b/check-health
index 903c496..5da7d2a 100644
--- a/check-health
+++ b/check-health
@@ -35,10 +35,10 @@
}
:if ([ :typeof $CheckHealthLast ] != "array") do={
- :set CheckHealthLast [ :toarray "" ];
+ :set CheckHealthLast ({});
}
:if ([ :typeof $CheckHealthTemperatureNotified ] != "array") do={
- :set CheckHealthTemperatureNotified [ :toarray "" ];
+ :set CheckHealthTemperatureNotified ({});
}
$ScriptLock $0;