fix: correct case-sensitive host match in runner capacity defaults
The case statement matched uppercase UNRAID/FEDORA but $r_host is always lowercase from validate_runner_host(). Unraid and Fedora runners were silently falling through to the default capacity of 1 instead of 2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -461,8 +461,8 @@ for ((i = 0; i < runner_count; i++)); do
|
||||
if [[ -z "$cap_default" ]]; then
|
||||
# Smart defaults per host type
|
||||
case "$r_host" in
|
||||
UNRAID) cap_default=2 ;;
|
||||
FEDORA) cap_default=2 ;;
|
||||
unraid) cap_default=2 ;;
|
||||
fedora) cap_default=2 ;;
|
||||
*) cap_default=1 ;; # macOS / native
|
||||
esac
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user