spawn/ionos/lib
A 6c211588ce
refactor: Extract helpers from IONOS create_server (192 -> 82 lines) (#321)
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>
2026-02-10 18:58:39 -08:00
..
common.sh refactor: Extract helpers from IONOS create_server (192 -> 82 lines) (#321) 2026-02-10 18:58:39 -08:00