lib/fog/openstack/requests/orchestration/delete_stack.rb in fog-maestrodev-1.15.0.20130927082724 vs lib/fog/openstack/requests/orchestration/delete_stack.rb in fog-maestrodev-1.18.0.20131111203459
- old
+ new
@@ -12,10 +12,11 @@
#
# @see http://docs.amazonwebservices.com/AWSCloudFormation/latest/APIReference/API_DeleteStack.html
def delete_stack(stack_name, stack_id)
request(
+ :expects => 204,
:path => "stacks/#{stack_name}/#{stack_id}",
:method => 'DELETE'
)
end
@@ -24,10 +25,10 @@
class Mock
def delete_stack(stack_name, stack_id)
self.data[:stacks].delete(stack_id)
response = Excon::Response.new
- response.status = 202
+ response.status = 204
response.body = {}
response
end
end
end