lib/fog/openstack/requests/image/update_image_members.rb in fog-1.18.0 vs lib/fog/openstack/requests/image/update_image_members.rb in fog-1.19.0
- old
+ new
@@ -9,10 +9,10 @@
# {'member_id' => 'tenant2', 'can_share' => false }
# ]
data = { 'memberships' => members }
request(
- :body => MultiJson.encode(data),
+ :body => Fog::JSON.encode(data),
:expects => [200, 202],
:method => 'PUT',
:path => "images/#{image_id}/members"
)
end