Update 00_deprecation.sh

Invert logic for cache_mem_size deprecation check
This commit is contained in:
James Kinsman 2022-03-07 08:47:00 +00:00 committed by VibroAxe
parent 566df584bb
commit 4a09959e96

View file

@ -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
fi