summaryrefslogtreecommitdiff
path: root/lib/hyperstack/vm_lifecycle.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-25 21:27:28 +0300
committerPaul Buetow <paul@buetow.org>2026-05-25 21:27:28 +0300
commit773ffb65bf36b7ec07549be1e291189e1f71c91e (patch)
tree28736917cb8dd3c07976d7fae5fd27386a360331 /lib/hyperstack/vm_lifecycle.rb
parent578b0f747d8cf773c0e5ba9394bcf8436d6b0a01 (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/vm_lifecycle.rb')
0 files changed, 0 insertions, 0 deletions