lib/fog/openstack/requests/image/update_image_members.rb in fog-1.10.1 vs lib/fog/openstack/requests/image/update_image_members.rb in fog-1.11.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