Commit aa96f15
committed
fix: use fleet blocks config for string SSH hosts in create_fleet_ssh_instance_model
When SSH fleet hosts are specified as plain strings (e.g. hosts: ["192.168.0.1"]),
the fleet-level blocks configuration is ignored and hardcoded to 1. This prevents
instances from being divided into multiple GPU blocks.
The fix uses spec.configuration.blocks instead of the hardcoded value, consistent
with how the else branch reads host.blocks for SSHHostParams objects.
Fixes #34751 parent d01981c commit aa96f15
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
| 687 | + | |
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| |||
0 commit comments