1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[vcloud_director] Properly rename undeploy -> post_undeploy_vapp

This commit is contained in:
Nick Osborn 2013-10-01 10:52:28 +01:00
parent 89f404305c
commit 06902464ab

View file

@ -30,8 +30,7 @@ module Fog
# @see http://pubs.vmware.com/vcd-51/topic/com.vmware.vcloud.api.reference.doc_51/doc/operations/POST-UndeployVApp.html
# vCloud API Documentation
# @since vCloud API version 0.9
# @todo Rename as #post_undeploy_vapp
def undeploy(vapp_id, options={})
def post_undeploy_vapp(vapp_id, options={})
body = <<-END
<UndeployVAppParams xmlns="http://www.vmware.com/vcloud/v1.5">
<UndeployPowerAction>#{options[:UndeployPowerAction]||''}</UndeployPowerAction>