lib/fog/openstack/requests/compute/add_flavor_access.rb in fog-1.18.0 vs lib/fog/openstack/requests/compute/add_flavor_access.rb in fog-1.19.0
- old
+ new
@@ -2,10 +2,10 @@
module Compute
class OpenStack
class Real
def add_flavor_access(flavor_ref, tenant_id)
request(
- :body => MultiJson.encode({
+ :body => Fog::JSON.encode({
"addTenantAccess" => {
"tenant" => tenant_id
}
}),
:expects => [200, 203],