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 GitHub
parent 83d9ffdcae
commit 09ef3314e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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