lib/fog/openstack/requests/compute/add_flavor_access.rb in fog-maestrodev-1.18.0.20131121075022 vs lib/fog/openstack/requests/compute/add_flavor_access.rb in fog-maestrodev-1.18.0.20131122203507
- 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],