mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 09:31:15 +00:00
Break down the 192-line create_server() into focused helpers: - ionos_parse_api_error: centralize error message extraction (used 7x) - ionos_check_api_error: centralize error check + log pattern (used 7x) - _ionos_find_ubuntu_image: Ubuntu image lookup - _ionos_create_boot_volume: volume creation + wait loop - _ionos_wait_for_server_ip: IP address polling loop No behavior changes. All bash -n and bun tests pass. Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||