From 4a09959e96cb17a3de31e6cbad7ab51de1fa5446 Mon Sep 17 00:00:00 2001 From: James Kinsman Date: Mon, 7 Mar 2022 08:47:00 +0000 Subject: [PATCH] Update 00_deprecation.sh Invert logic for cache_mem_size deprecation check --- overlay/hooks/entrypoint-pre.d/00_deprecation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overlay/hooks/entrypoint-pre.d/00_deprecation.sh b/overlay/hooks/entrypoint-pre.d/00_deprecation.sh index 0587cfa..a841f3b 100644 --- a/overlay/hooks/entrypoint-pre.d/00_deprecation.sh +++ b/overlay/hooks/entrypoint-pre.d/00_deprecation.sh @@ -7,9 +7,9 @@ if [[ ! -z "${CACHE_DOMAIN_REPO}" ]]; then fi -if [[ ! -z "${CACHE_INDEX_SIZE}" ]]; then +if [[ ! -z "${CACHE_MEM_SIZE}" ]]; then echo " *** CACHE_MEM_SIZE has been deprecated in place of CACHE_INDEX_SIZE" echo " *** Using CACHE_MEM_SIZE as the value" echo " *** Please update your configuration at your earliest convenience" CACHE_INDEX_SIZE=$CACHE_MEM_SIZE -fi \ No newline at end of file +fi