From ae0251d1a8bfcd67378de7dd4ce1a0deefe62041 Mon Sep 17 00:00:00 2001 From: ktmitton Date: Fri, 12 Mar 2021 08:09:20 -0500 Subject: [PATCH] Fixed CPU soft limit check (#885) --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fae93a4..b0f8d13 100755 --- a/install.sh +++ b/install.sh @@ -138,7 +138,7 @@ fi if [[ "$CPU_AVAILABLE_IN_DOCKER" -lt "$MIN_CPU_HARD" ]]; then echo "FAIL: Required minimum CPU cores available to Docker is $MIN_CPU_HARD, found $CPU_AVAILABLE_IN_DOCKER" exit 1 -elif [[ "$RAM_AVAILABLE_IN_DOCKER" -lt "$MIN_CPU_SOFT" ]]; then +elif [[ "$CPU_AVAILABLE_IN_DOCKER" -lt "$MIN_CPU_SOFT" ]]; then echo "WARN: Recommended minimum CPU cores available to Docker is $MIN_CPU_SOFT, found $CPU_AVAILABLE_IN_DOCKER" fi