Skip to content

Commit 3d9d18e

Browse files
Timothy van Zadelhoffmiguelaferreira
authored andcommitted
Update terminate_instance.rb
expunge on destroy default to false
1 parent c90c593 commit 3d9d18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vagrant-cloudstack/action/terminate_instance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def call(env)
102102
expunge_on_destroy = domain_config.expunge_on_destroy
103103

104104
options = {}
105-
options['expunge'] = expunge_on_destroy if expunge_on_destroy != nil
105+
options['expunge'] = expunge_on_destroy
106106

107107
job = server.destroy(options)
108108
while true

0 commit comments

Comments
 (0)