mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fixes attributes when generating xml body for post deploy vapps.
This commit is contained in:
parent
607bf3ae99
commit
03b5551b3a
1 changed files with 3 additions and 3 deletions
|
@ -30,9 +30,9 @@ module Fog
|
|||
attrs = {
|
||||
:xmlns => 'http://www.vmware.com/vcloud/v1.5'
|
||||
}
|
||||
attr[:deploymentLeaseSeconds] = options[:deploymentLeaseSeconds] if options.key?(:deploymentLeaseSeconds)
|
||||
attr[:forceCustomization] = options[:forceCustomization] if options.key?(:forceCustomization)
|
||||
attr[:powerOn] = options[:powerOn] if options.key?(:powerOn)
|
||||
attrs[:deploymentLeaseSeconds] = options[:deploymentLeaseSeconds] if options.key?(:deploymentLeaseSeconds)
|
||||
attrs[:forceCustomization] = options[:forceCustomization] if options.key?(:forceCustomization)
|
||||
attrs[:powerOn] = options[:powerOn] if options.key?(:powerOn)
|
||||
DeployVAppParams(attrs)
|
||||
end.to_xml
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue