Closed
Description
We started hitting failures related to RecursiveOpenStruct#marshal_dump
that appear to be introduced by #72
The return value is different causing callers that assume the same API contract, specifically something like ros.marshal_dump.each { |key, val| ... }
now fails because it is iterating over an array of the ostruct and the options.
Example code that fails: https://github.com/fog/fog-kubevirt/blob/master/lib/fog/kubevirt/compute/compute.rb#L94-L97
Related Issue: fog/fog-kubevirt#161
Since this changes the return format IMO this was a breaking change and should have been a major version release.
Metadata
Metadata
Assignees
Labels
No labels