terremark/requests/shutdown.rb expects a 204 response.

This commit is contained in:
marios 2010-04-20 18:09:01 +08:00 committed by Wesley Beary
parent 6227fda58a
commit d9f28880a1
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module Fog
# * 'type'<~String> - type of owner
def shutdown(vapp_id)
request(
:expects => 202,
:expects => 204,
:method => 'POST',
:parser => Fog::Parsers::Terremark::Task.new,
:path => "vApp/#{vapp_id}/power/action/shutdown"