mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-10-14 06:34:58 +08:00
fix: Rename physical to logical (#1058)
This commit is contained in:
parent
25227944b5
commit
c3302e1720
@ -62,7 +62,7 @@ CPU_CORES="${CPU_CORES// /}"
|
||||
[ -n "${CPU_CORES//[0-9 ]}" ] && error "Invalid amount of CPU_CORES: $CPU_CORES" && exit 15
|
||||
|
||||
if [ "$CPU_CORES" -gt "$CORES" ]; then
|
||||
warn "The amount for CPU_CORES (${CPU_CORES}) exceeds the amount of physical cores, so will be limited to ${CORES}."
|
||||
warn "The amount for CPU_CORES (${CPU_CORES}) exceeds the amount of logical cores available, so will be limited to ${CORES}."
|
||||
CPU_CORES="$CORES"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user