diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-25 21:27:28 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-25 21:27:28 +0300 |
| commit | 773ffb65bf36b7ec07549be1e291189e1f71c91e (patch) | |
| tree | 28736917cb8dd3c07976d7fae5fd27386a360331 /lib/hyperstack/provisioning_orchestrator.rb | |
| parent | 578b0f747d8cf773c0e5ba9394bcf8436d6b0a01 (diff) | |
fix(client): use nil-safe fetch fallback in list_flavors/list_images
Replace || fallback with Hash#fetch block in list_flavors and list_images.
The old code incorrectly swapped falsy-but-present values (empty string,
false, 0) via ||. fetch only falls through when the key is absent,
preserving legitimate falsy values from the API.
Diffstat (limited to 'lib/hyperstack/provisioning_orchestrator.rb')
0 files changed, 0 insertions, 0 deletions
